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

BUG! exception in phase 'instruction selection' unexpected NullPointerException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.x
    • 2.5.17, 3.0.11, 4.0.3
    • groovy-jdk
    • None
    • Windows 10, Powershell, IntelliJ 2020.3

    Description

      I am getting this in my gradle build after upgrading Gradle to 6.9.2 and Grails to 

      classpath "org.grails:grails-gradle-plugin:5.1.4"

      implementation 'org.grails:grails-dependencies:5.1.7'
      implementation 'org.grails:grails-web-boot:5.1.7'

      implementation 'org.grails:grails-gradle-plugin:5.1.4'
      implementation 'org.grails:grails-core:5.1.7'

      runtimeOnly 'org.grails.plugins:hibernate:4.3.10.7'
      implementation 'org.grails.plugins:spring-security-core:5.0.0'
      implementation group: 'org.grails.plugins', name: 'cache', version: '5.0.1'

      testImplementation 'org.grails:grails-plugin-testing:3.3.0.M2'
      testImplementation 'org.grails:grails-test-mixins:3.3.0'
      testImplementation group: 'org.grails.plugins', name: 'geb', version: '2.0.0'

      compileOnly 'org.grails:grails-console:5.1.7'

       

      FAILURE: Build failed with an exception.

       

      • What went wrong:

      Execution failed for task ':compileTestGroovy'.

      > BUG! exception in phase 'instruction selection' in source unit 'C:\SVNWorkspace\wholesaler-card-utility\src\test\groovy\com\moo\wholesaler\admin\AuditLoggingControllerSpec.groovy' unexpected NullPointerException

       

      When I try to use IntelliJ to debug the code so I can step in and find where it is giving this, it gives me the same failure without hitting a break point.

       

      Any advice will be helpful.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            emilles Eric Milles
            dgeiselman Daniel Geiselman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment