Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-854

NullPointerException in KieModuleMetaDataImpl.init

    Details

    • Steps to Reproduce:
      Hide

      Within kie-wb webapp (preferably on clean installation):
      1. switch to Authoring, select uf-playground org. unit, mortgages project
      2. click New Item, select Guided rule
      3. type a name, click Ok

      Show
      Within kie-wb webapp (preferably on clean installation): 1. switch to Authoring, select uf-playground org. unit, mortgages project 2. click New Item, select Guided rule 3. type a name, click Ok
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When creating certain types of assets in the gui, user gets an error modal: "Unable to complete your request. The following exception occurred: null."
      The asset is created, but cannot be loaded (reopening results in the same error).
      It seems that the newly created asset can be loaded after a project build.

      Editors/assets affected are:
      guided rules, guided rule templates, drl, guided score cards, guided dtables, guided decision trees, test scenarios
      (others - enumerations, dsl, process definitions, ... are okay)

      It might not be reproducible with drools-wb (based on irc conversations with Walter Medvedeo).

      Server log points to DMO:
      Caused by: java.lang.NullPointerException
      at org.kie.scanner.KieModuleMetaDataImpl.init(KieModuleMetaDataImpl.java:147)
      at org.kie.scanner.KieModuleMetaDataImpl.<init>(KieModuleMetaDataImpl.java:87)
      at org.kie.scanner.KieModuleMetaData$Factory.newKieModuleMetaData(KieModuleMetaData.java:45)
      at org.kie.workbench.common.services.datamodel.backend.server.cache.LRUDataModelOracleCache.loadEnumsForPackage(LRUDataModelOracleCache.java:171)

      Stacktrace to be found at http://pastebin.test.redhat.com/299022.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                zkrejcov Zuzka Krejčová
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: