• Post Reply Bookmark Topic Watch Topic
  • New Topic

ExceptionInInitializerError  RSS feed

 
Aman Gupta
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm getting the following error in WSAD 5.1.1.

Please help to reolve it -

Exception in thread "8768" java.lang.ExceptionInInitializerError
at com.tcs.ncs.rpc.RptReportManager.createRecordNew(RptReportManager.java:4545)
at com.tcs.ncs.bln.bln_ExtSvcObj.createRecordNew(bln_ExtSvcObj.java:450)
at com.tcs.ncs.bln.BillingManager.adviseForBrwr(BillingManager.java:2841)
at com.tcs.ncs.bln.BillingManager.createAccuntEntries(BillingManager.java:2325)
at com.tcs.ncs.bln.BillingManager.createBLN(BillingManager.java:2378)
at com.tcs.ncs.bln.BillingManager.netBilling(BillingManager.java:1748)
at com.tcs.ncs.bln.BFBillingNetting.process(BFBillingNetting.java:430)
at com.tcs.ncs.bln.BFBillingNetting.shell(BFBillingNetting.java:251)
at com.tcs.mastercraft.mcbatch.MCBatchPgm.callBatchFunction(MCBatchPgm.java:876)
at com.tcs.mastercraft.mcbatch.MCBatchPgm.exec(MCBatchPgm.java:259)
at com.tcs.ncs.bln.BPBillingNetting.start(BPBillingNetting.java:47)
at com.tcs.ncs.bln.BPBillingNetting_Controller.run(BPBillingNetting_Controller.java:347)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:584)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427)
at com.tcs.ncs.util.StringConverter.<init>(StringConverter.java:39)
at com.tcs.ncs.util.LocalizationHelper.<clinit>(LocalizationHelper.java:67)
... 13 more
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the Javadoc for the ExceptionInInitializerError class ? Does anything in the description apply to your code ? Without seeing your code the best I can tell you is that you are probably getting a NullPointerException in a static initialiser block.
 
Aman Gupta
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joanne.

Do you also think it can be an envoirnment issue.
I'm usind JDK 1.5 with WSAD 5.1.1
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also please note the original cause:

Caused by: java.lang.NullPointerException
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:584)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!