Spring Roo
  1. Spring Roo
  2. ROO-2972

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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().

        Activity

        Hide
        Alan Stewart added a comment -

        The change in Git ID 64f06795bb02789cfcf4c9d7180276d0d2e2e418 resolves this specific issue.

        Show
        Alan Stewart added a comment - The change in Git ID 64f06795bb02789cfcf4c9d7180276d0d2e2e418 resolves this specific issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: