[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1153) Turned of ProfileService authenticatiion and it caused an NPE in the Teiid RHQ Plugin

Ted Jones (JIRA) jira-events at lists.jboss.org
Wed Jul 14 14:32:58 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Jones resolved TEIID-1153.
------------------------------

    Fix Version/s: 7.1
       Resolution: Done


This was caused by the Teiid Engine managed component not being available. Added a null check in PlatformDiscoveryComponent if the managed component is not found and return an empty set of DiscoveredResources. 

> Turned of ProfileService authenticatiion and it caused an NPE in the Teiid RHQ Plugin
> -------------------------------------------------------------------------------------
>
>                 Key: TEIID-1153
>                 URL: https://jira.jboss.org/browse/TEIID-1153
>             Project: Teiid
>          Issue Type: Bug
>          Components: Jopr Plugin
>         Environment: SOA-P
>            Reporter: Van Halbert
>            Assignee: Ted Jones
>             Fix For: 7.1
>
>
> Turned of ProfileService authenticatiion and it caused an NPE in the Teiid RHQ Plugin,
> Exception:
> java.lang.Exception: Discovery component invocation failed.
> 	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:270)
> 	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:637)
> Caused by: java.lang.NullPointerException
> 	at org.teiid.rhq.plugin.util.ProfileServiceUtil.getSimpleValue(ProfileServiceUtil.java:296)
> 	at org.teiid.rhq.plugin.PlatformDiscoveryComponent.discoverResources(PlatformDiscoveryComponent.java:66)
> 	at sun.reflect.GeneratedMethodAccessor339.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:266)
> 	... 5 more

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

        


More information about the teiid-issues mailing list