Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6776

VerifierError in Groovy 2.3, doesn't happen in Groovy 2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • Static Type Checker
    • None

    Description

      I'm encountering a VerifierError with the following class:

      https://github.com/grails-plugins/grails-tomcat8-plugin/blob/master/src/groovy/org/grails/plugins/tomcat/fork/ForkedTomcatServer.groovy

      Stacktrace:

      java.lang.VerifyError: (class: org/grails/plugins/tomcat/fork/ForkedTomcatServer, method: startSecure signature: ()V) Expecting to find integer on stack
      	at org.grails.plugins.tomcat.TomcatServerFactory.createForked(TomcatServerFactory.groovy:45)
      	at org.grails.plugins.tomcat.TomcatServerFactory.createForked(TomcatServerFactory.groovy)
      	at org.grails.plugins.tomcat.TomcatServerFactory.createInline(TomcatServerFactory.groovy:36)
      	at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runInline(GrailsProjectRunner.groovy:187)
      	at org.codehaus.groovy.grails.project.container.GrailsProjectRunner.runApp(GrailsProjectRunner.groovy:123)
      	at org.codehaus.groovy.grails.project.container.GrailsProjectRunner$runApp$0.call(Unknown Source)
      

      Steps to reproduce with the attached app:

      unzip new240.zip 
      cd new240
      ./grailsw run-app
      

      Attachments

        1. new240.zip
          1.34 MB
          Graeme Rocher

        Activity

          People

            blackdrag Jochen Theodorou
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: