• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None

      Plugin: p4:1.4.0:not-pinned
      Jenkins: 1.609
      Java Version: 1.8.0_77

      Viewing any console logs results in:

      Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 20
      Exception Details:
        Location:
          org/jenkinsci/plugins/p4/console/P4ConsoleAnnotator.<init>()V @11: ifeq
        Reason:
          Expected stackmap frame at this location.
        Bytecode:
          0x0000000: 2ab7 0014 2a03 1202 b800 1899 0009 b500
          0x0000010: 1aa7 0006 b500 1a2a 03b5 001c b1
      
      	at org.jenkinsci.plugins.p4.console.P4ConsoleAnnotatorFactory.newInstance(P4ConsoleAnnotatorFactory.java:13)
      	at hudson.console.ConsoleAnnotator._for(ConsoleAnnotator.java:143)
      	at hudson.console.ConsoleAnnotator.initial(ConsoleAnnotator.java:133)
      	at hudson.console.AnnotatedLargeText.createAnnotator(AnnotatedLargeText.java:137)
      	at hudson.console.AnnotatedLargeText.writeHtmlTo(AnnotatedLargeText.java:167)
      	at hudson.console.AnnotatedLargeText.writeLogTo(AnnotatedLargeText.java:143)
      	at org.kohsuke.stapler.framework.io.LargeText.doProgressText(LargeText.java:262)
      	at hudson.console.AnnotatedLargeText.doProgressiveHtml(AnnotatedLargeText.java:91)
      	... 89 more
      

      Fixed by adding

      JAVA_OPTS=-noverify
      

      to startup.

      Guessing that for Java 7:

      -XX:-UseSplitVerifier 
      

      fixes this for people having the same issue but didn't test it

          [JENKINS-37172] P4 plugin breaks console output on Java 8

          There are no comments yet on this issue.

            Unassigned Unassigned
            owood Owen Wood
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: