Help using Base SAS procedures

proc stdrate (java.lang.ArrayIndexOutOfBoundsException)

Reply
Occasional Contributor
Posts: 5

proc stdrate (java.lang.ArrayIndexOutOfBoundsException)

Hi

I am using the proc stdrate to calculate Incidence Rate Ratios (IRRs). The code looks like this:

ods graphics on;

proc stdrate data = exposed_reduced refdata = richmond_reduced

             method=indirect

             stat=rate

             ;

   population event=observed_total total=pyear_total ;

   reference event=observed_total total=pyear_total ;

   strata post_strata rank_strata agegrp_cancer_1 year_cancer / smr ;

run;

ods graphics off;

However, I am getting the following error:

java.lang.ArrayIndexOutOfBoundsException

ERROR: Physical file does not exist, S:\SAS\SAS Temporary Files\_TD5952_WINSASAPP_\_D8C36FB10FE46E89B6E9441823BB839.bmp.

From my searching it appears the problem occurs when you have relational data and have a large number of rows to report.

Any ideas how to get around this?

Thank you!

Andrew

Super User
Posts: 17,837

Re: proc stdrate (java.lang.ArrayIndexOutOfBoundsException)

Java errors usually relate to graphics, try turning odd graphics off.

But I'd contact tech support to see what's going on. If you're running on a server the server may not have the right java installed.

Ask a Question
Discussion stats
  • 1 reply
  • 167 views
  • 0 likes
  • 2 in conversation