BookmarkSubscribeRSS Feed
cesar
Calcite | Level 5

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.

3 REPLIES 3
Reeza
Super User

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

Jay54
Meteorite | Level 14

Please report this to SAS Technical Support.

cesar
Calcite | Level 5

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 976 views
  • 0 likes
  • 3 in conversation