9

I am getting this strange error while executing the following code.

EncoderRequest encoderRequest = new EncoderRequest(sid,appTxnId,pfid,transactionType,"",isUpdatetype9,true);

I have checked all the parameter values are valid. I am using java7 plateform. can any one have come across this situation, please help.

following is the part of stacktrace i am getting.

Caused by: java.lang.ClassFormatError: Illegal local variable table length 48 in method com.cmc.facts.encoder.EncoderRequest.<init>(JLjava/lang/String;Ljava/lang/Long;Lcom/cmc/facts/enums/TransactionType;Ljava/lang/String;ZZ)V at com.cmc.facts.nist.NistReaderModel.preprossingOfNistFile(NistReaderModel.java:180) at com.cmc.facts.action.interstate.InterStateAction.uploadFIIF(InterStateAction.java:645) ... 115 more

Mukesh Singh Rathaur
  • 12,577
  • 2
  • 23
  • 24
Satish
  • 127
  • 1
  • 1
  • 7

2 Answers2

18

There have been previous reports of the same error, on Junit tests and similar..

For them, adding the JVM arg -XX:-UseSplitVerifier seemed to work

Have a look at this article

Community
  • 1
  • 1
Cristian Meneses
  • 4,013
  • 17
  • 32
3

You can also do this config : Add -noverify in your jvg args

For ant config you can do : <jvmarg value="-noverify"/>

You can follow the link for more details on why we need to do this.

AbhishekAsh
  • 421
  • 2
  • 15