I’ve run a program numerous times over the past week but
today I received the following Error message.
Unexpected NPE
(Null Pointer Exception ?)
I tried to isolate the piece of code which caused the error
by moving the “endsas;” statement further up the code until only the first line
of code was run.
See below where I’ve given the first line of code, the error
message and the details of the error message.
What am I suddenly doing wrong ? Is it a Java message ? Has
a piece of Java been inadvertently deleted ? If so, what piece of Java needs to
be re-installed (if at all ) ?
libname dmart "/folders/myfolders/SAS/DataMart/Demography/" ;
endsas ;
Unexpected NPE
[TRACEBACK]
at Anonymous function
(http://localhost:10080/SASStudio/resources/js/webdms/DMSEditor.js:4848:6)
at Anonymous function
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/lang.js:375:41)
at Anonymous function
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/xhr.js:386:5)
at notify
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/Deferred.js:187:7)
at complete
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/Deferred.js:168:4)
at errback
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/Deferred.js:263:4)
at notify
(http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/Deferred.js:202:7)
at complete (http://localhost:10080/SASStudio/resources/js/dojo/dojo/_base/Deferred.js:168:4)
Thanks.
Well, a file with an extension .js is a javascript source file, this isn't the same as Java. I would suggest the service desk for this as its quite vague.
Thank you RW9. I'll follow that up with the service desk
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.