2 Replies Latest reply on Oct 24, 2011 3:05 AM by kiwi1722

    Problem with arquillian-jacoco

    kiwi1722

      Hi all,

       

      I can not run my test with the jacoco extension 1.0.0.alpha1.

      Without the jacoco extension the tests run fine.

       

      My settings are:

      - JBoss 6.0.0.Final

      - arquillian 1.0.0.CR5

      - start JBoss in eclipse and run the test in eclipse without maven

      - container type JBoss remote

      - arquillian-jacoco 1.0.0.alpha1

      - jacoco-core 0.5.3

       

      When the classes are deployed to the remote JBoss server  I get the follwoing error:

       

      [org.jboss.detailed.classloader.ClassLoaderManager] Unexpected error during load of:de.test.playground.HelloBean: java.lang.ClassFormatError: Invalid length 65532 in LocalVariableTable in class file de/test/playground/HelloBean

       

      Can anyone help, please?

       

      Regards,

      Christian

        • 1. Re: Problem with arquillian-jacoco
          spinner

          Hey kiwi,

           

          Can I see your class file (and the test file)? You could pastebin (or gist) the whole class. I'll execute the tests within my application to see if there's a problem when instrumenting it.

          • 2. Re: Problem with arquillian-jacoco
            kiwi1722

            Hi José,

             

            thanks for your help. But in the meantime I have fixed the problem.

            The problem was the eclemma plugin which instrumented the files twice after jacoco has instrumented it.

             

            Thank you

            christian