Spring Roo
  1. Spring Roo
  2. ROO-1548

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

    Details

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

        Activity

        Hide
        Alan Stewart added a comment -

        Fixed in Git ID 5bf74357da3ed268582a125d8f89a07574560a59

        Show
        Alan Stewart added a comment - Fixed in Git ID 5bf74357da3ed268582a125d8f89a07574560a59

          People

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

            Dates

            • Created:
              Updated:
              Resolved: