Data visualization with SAS programming

ERROR java.lang.NumberFormatException: empty String (SAS 9.4)

Reply
New Contributor
Posts: 2

ERROR java.lang.NumberFormatException: empty String (SAS 9.4)

Hi everyone,

I try to create a PDF file with ODS, and when try to plot with "Proc Sgplot"  the output windows show me the next sentence:

 

"java.lang.NumberFormatException: empty String"

 

So, in the PDF file created that graph disappear, but for the tables (with proc report) and graphs (with proc gchart)  works fine!

 

I hope you can help me with this, Thanks.

Grand Advisor
Posts: 16,411

Re: ERROR java.lang.NumberFormatException: empty String (SAS 9.4)

Sounds like a Java incompatibility.  Make sure the version of Java installed is appropriate for your SAS installation. 

SAS Super FREQ
Posts: 1,044

Re: ERROR java.lang.NumberFormatException: empty String (SAS 9.4)

Please report this to SAS Technical Support.

New Contributor
Posts: 2

Re: ERROR java.lang.NumberFormatException: empty String (SAS 9.4)

[ Edited ]

I forgotten say that PDF with ODS has the sentence ODS layout Gridded, because when a try generate de ODS PDF without layout the program works Fine.

 

 

NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.
NOTE: STATGRAPH 'Sgplot' has been saved to: WORK.___Graph___
NOTE: PROCEDIMIENTO SGPLOT used (Total process time):
real time 0.89 segundos
cpu time 0.11 segundos

NOTE: The specified WEIGHT variable will be used for all statements in the graph.
ERROR: Excepción en la máquina virtual Java. java.lang.NumberFormatException: empty String.
NOTE: The SAS System stopped processing this step because of errors.

Post a Question
Discussion Stats
  • 3 replies
  • 66 views
  • 0 likes
  • 3 in conversation