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

The last schema is null in the bindDatabaseListener method of DbreModelServiceImpl on Mac platforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: PERSISTENCE
    • Labels:
      None

      Description

      Errors messages relating to DBRE are shown on Roo startup on Mac platforms

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      [Thread-3] [org.springframework.roo.addon.dbre [17]] [org.springframework.roo.addon.dbre.DbreModelServiceImpl] The bindDatabaseListener method has thrown an exception
      java.lang.IllegalArgumentException: Schema required
      at org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
      at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:146)
      at org.springframework.roo.addon.dbre.DbreModelServiceImpl.bindDatabaseListener(DbreModelServiceImpl.java:91)

      Fix is to include a null check for lastSchema

        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: