[jboss-jira] [JBoss JIRA] Created: (JBAS-6765) Setting ObjectName ManagedProperties (eg. DLQ, serverPeer, expiryQueue) to removed=true and value=null causes NullPointerException in StringObjectNameMetaMapper.unwrapMetaValue()

Ian Springer (JIRA) jira-events at lists.jboss.org
Thu Apr 9 18:28:22 EDT 2009


Setting ObjectName ManagedProperties (eg. DLQ, serverPeer, expiryQueue) to removed=true and value=null causes NullPointerException in StringObjectNameMetaMapper.unwrapMetaValue()
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBAS-6765
                 URL: https://jira.jboss.org/jira/browse/JBAS-6765
             Project: JBoss Application Server
          Issue Type: Sub-task
      Security Level: Public (Everyone can see)
          Components: ProfileService
            Reporter: Ian Springer
            Assignee: Scott M Stark
            Priority: Blocker


18:23:18,093 DEBUG [ConversionUtils] Setting value of removed non-primitive ManagedProperty 'DLQ' to null...
18:23:18,093 ERROR [ManagedComponentComponent] Failed to update configuration for ResourceType[id=0, category=Service, name=Queue, plugin=JBossAS5] Resource with key [JMSDestination:Queue:/queue/A].
java.lang.NullPointerException
        at org.jboss.jms.server.destination.StringObjectNameMetaMapper.unwrapMetaValue(StringObjectNameMetaMapper.java:69)
        at org.jboss.jms.server.destination.StringObjectNameMetaMapper.unwrapMetaValue(StringObjectNameMetaMapper.java:42)
        at org.jboss.system.deployers.managed.ServiceMetaDataICF.setValue(ServiceMetaDataICF.java:297)
        at org.jboss.system.deployers.managed.ServiceMetaDataICF.setValue(ServiceMetaDataICF.java:63)
        at org.jboss.managed.plugins.WritethroughManagedPropertyImpl.setValue(WritethroughManagedPropertyImpl.java:102)
        at org.rhq.plugins.jbossas5.util.ConversionUtils.populateManagedPropertyFromProperty(ConversionUtils.java:229)
        at org.rhq.plugins.jbossas5.util.ConversionUtils.convertConfigurationToManagedProperties(ConversionUtils.java:205)
        at org.rhq.plugins.jbossas5.AbstractManagedComponent.updateResourceConfiguration(AbstractManagedComponent.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list