ishikawa-da
Giga Sage

Hi @Naveen20 

Thanks a lot for the help! Your suggestions were exactly what I needed.

 

I realized I made a bit of a beginner mistake—I was still using the placeholder scope and scopeId from the tutorial instead of my actual PDI’s values. Once I corrected those and switched to npx @servicenow/sdk deploy as you suggested, everything worked perfectly!

For documentation purposes and to help anyone else who might encounter this "application was null" error, I’ve attached a screenshot of my ServiceNow IDE (showing version 4.1.1) and am including the specific syslog output from the failure below:

 

Syslog Output at Failure:

Unable to install application as application was null: java.lang.IllegalStateException: Unable to install application as application was null: com.sn_appclient_bootstrap.ScopedAppUploadProcessor.uploadAndInstallApp(ScopedAppUploadProcessor.java:251)
process() in ScopedAppUploadProcessor.java:154
runProcessor() in AProcessor.java:931
processTransaction() in AProcessor.java:352
process0() in ProcessorRegistry.java:200
process() in ProcessorRegistry.java:188
process() in GlideServletTransaction.java:58
run() in Transaction.java:3298
run() in HTTPTransaction.java:76
runTransaction() in SemaphoreQueueThreadPool.java:374
runThreadImpl() in SemaphoreQueueThreadPool.java:338
runThread() in SemaphoreQueueThreadPool.java:159
run() in Thread.java:1583

 

As I'm just starting to dive deeper into the ServiceNow SDK, do you have any recommendations on how to best stay caught up with the latest updates and best practices for this tool? Is there a specific GitHub repo, developer blog, or community group you recommend following?

 

Much appreciated!