Menu

#4316 [HHQ-4200] Exception in ProductPluginManager.registerPluginJ

Bug
open
None
5
2012-10-09
2010-08-13
No

http://jira.hyperic.com/browse/HHQ-4200


Plug-ins should not effect the ability for the agent to run. This exception needs to be handled better. This is related to HHQ-4199



{noformat}


2010-08-12 09:21:27,899 ERROR [Thread-1] [WebsphereDetector] Error getting the WAS version: /tws/eWAS/properties/version/WAS.product (A file or directory in the path name does not exist.)


java.io.FileNotFoundException: /tws/eWAS/properties/version/WAS.product (A file or directory in the path name does not exist.)


at java.io.FileInputStream.open(Native Method)


at java.io.FileInputStream.<init>(FileInputStream.java:135)


at java.io.FileReader.<init>(FileReader.java:78)


at org.hyperic.hq.plugin.websphere.WebsphereDetector.getComponentVersion(WebsphereDetector.java:324)


at org.hyperic.hq.plugin.websphere.WebsphereProductPlugin.getClassPathOSGi(WebsphereProductPlugin.java:384)


at org.hyperic.hq.plugin.websphere.WebsphereProductPlugin.getClassPath(WebsphereProductPlugin.java:556)


at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:1035)


at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:752)


at org.hyperic.hq.product.ProductPluginManager.registerPlugins(ProductPluginManager.java:844)


at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:688)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:828)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:810)


2010-08-12 09:21:27,901 ERROR [Thread-1] [AgentDaemon] Error initializing plugins


org.hyperic.hq.product.PluginException


at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:1070)


at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:752)


at org.hyperic.hq.product.ProductPluginManager.registerPlugins(ProductPluginManager.java:844)


at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:688)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:828)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:810)


Caused by:


java.lang.NullPointerException


at org.hyperic.hq.plugin.websphere.WebsphereProductPlugin.getClassPathOSGi(WebsphereProductPlugin.java:385)


at org.hyperic.hq.plugin.websphere.WebsphereProductPlugin.getClassPath(WebsphereProductPlugin.java:556)


at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:1035)


... 6 more


2010-08-12 09:21:27,902 ERROR [Thread-1] [AgentDaemon] Unable to initialize plugin manager: null


org.hyperic.hq.agent.server.AgentStartException: Unable to initialize plugin manager: null


at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:695)


at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:828)


at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)


at java.lang.Thread.run(Thread.java:810)


2010-08-12 09:21:27,902 DEBUG [Thread-1] [AgentDaemon] Notifying that agent startup failed


{noformat}

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.