Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-993

When RHQ plugin is deployed, but the ModeShape service is not, a NPE is seen when admin console is accessed

XMLWordPrintable

      When the ModeShape isn't started, but its RHQ plugin is, the following exception is seen in the server log when the admin-console is accessed:

      Caused by: java.lang.NullPointerException
      at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:219)
      at org.modeshape.rhq.plugin.EngineDiscoveryComponent.discoverResources(EngineDiscoveryComponent.java:71)
      at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279)

      Preferably, an error message would be logged indicated that the plugin didn't find a running ModeShape service, its cleaner.

              rhn-engineering-tejones Edwin Jones
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: