cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.ExceptionInInitializerError

rishabh_singhania
Participant
0 Likes
1,079

Hi,

i am getting the below error while opening the report in modify mode.

"java.lang.ExceptionInInitializerError"

BI 4.0 sp2

Java version 6 update 19

please suggest

Thanks and Regards,

Rishabh

Accepted Solutions (1)

Accepted Solutions (1)

Henry_Banks
Product and Topic Expert
Product and Topic Expert
0 Likes

Your version is really buggy and was never a 'generally available' supported version!

the product was released with a Patch2.x (5 I think)

Anyway, do you project a favour, and roll out an actively maintained version.   Only SP05 and SP06 are being actively developed.  All over SP2, 3, and 4 have been closed off for new fixes.

Regards,

H

former_member188911
Active Contributor
0 Likes

Henry is right.

moreover, the JRE is old and unsafe, use Java 7 and uninstall all previous versions

Cheers

Simone

Answers (4)

Answers (4)

Former Member
0 Likes

1) This error occur if there is runtime exception thrown from statement inside the constructor or if there is error in static block.

2) Due to this error, instance of a class will not be created

3) So when you tryie to call a method on this instance variable it will throw java.lang.ExceptionInInitializerError

class AClass{

     public static AClass VARA = new AClass();

    

     private AClass(){

     ..... throw RuntimeException

     }

     public .. methodA(){

     }

}

class BClass{

     method(){

          VARA.methodA(); ... Will get ExceptionInInitializerError

     }

}

Former Member
0 Likes

HI

Check the below not, it might helpful to you.. Also update your Java version to update 25 and do the

below changes... Ctrl panel -- Java - Advanced -- Mixed Code -- Check "Enable - Hide warnings and run with Protections.

1725622

Thanks,

Raju


Former Member
0 Likes

Hi Rishabh,

Check if the error is still there after log off and log in through a fresh new browser to infoview/launchpad?

If above is yes, Check after restarting the CMS and tomcat if the issue still persists

If above two are yes, then check if the issue is consistent with opening of all webi reports in modify mode and if so, then check the compatibility of your browser version/JRE version with BO version of yours.

You can download product availability matrix for your version of BO and see compatible JRE and browser versions.

Thanks

Mallik

Former Member
0 Likes

Hi Rishabh

Tried restarting the server?

Regards

Sandeep

Ask a Question