Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2972

NPE when creating class in src/test/java default package

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.RELEASE
    • Component/s: TESTING
    • Labels:
      None

      Description

      Creating a simple class with no annotations at all in the default package of a project such as petclinic causes a NullPointerException in JavaParserTypeResolutionService#getPackage when attempting to evaluate compilationUnit.getPackage().

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              stewarta Alan Stewart
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: