Menu

java.lang.VerifyError using mstor.jar

Help
Markus N
2006-05-11
2013-05-01
  • Markus N

    Markus N - 2006-05-11

    I intend to use mstor in an application on a jboss plattform. The aplication should read a local mail stor on a unix plattform. When processing the read operation in an eclipse local environment as a stand alone application the read operation succeeds. When used in the server environment I got the following error message:
    java.lang.VerifyError: (class: net/fortuna/mstor/data/MetaFolderImpl, method: removeMessage signature: (I)Lnet/fortuna/mstor/MetaMessage;) Incompatible argument to function

    I found some hints about using -noverifier but this does not help.
    Any help would be appreciated.

     
    • Ben Fortuna

      Ben Fortuna - 2006-05-11

      Hi Markus,

      What Java version are you using on the server? If it's less than 1.4 that might be the cause (I've compiled mstor with Java 1.4 compatibility).

      regards,
      ben

       
    • Markus N

      Markus N - 2006-05-12

      Hi Ben,
      the server uses the Java (TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
      The local application which runs without any problem do use a 1.4.2 environment.

      Kind regards
        Markus

       
    • Ben Fortuna

      Ben Fortuna - 2006-05-13

      Markus,

      From the message it appears that somewhere some code is trying to call MetaFolderImpl.removeMessage(int), but passing a MetaMessage as the argument. I'm not exactly sure how that could happen, as I checked through past version of this class and it has has the same signature for quite a while.

      If possible, you should try downloading the source distribution (mstor-0.9.7-src.zip) and try to build a JAR in your local Java environment. You can do this by running the "package" ant target. You will need to rename the "build.properties.sample" to "build.properties" and update the location of your JavaMail and Activation libs.

      I have also recently added the option "target=1.4" to the "compile" ant target, so you want to try adding that as well if the initial build doesn't solve the problem.

      regards,
      ben

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.