Bug 1370499 - Discovery of EAP 7.1 fails with NPE
Summary: Discovery of EAP 7.1 fails with NPE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 7
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER01
: One-off release
Assignee: Ruben Vargas Palma
QA Contact: Filip Brychta
URL:
Whiteboard:
Depends On:
Blocks: 1327633 1411825
TreeView+ depends on / blocked
 
Reported: 2016-08-26 13:33 UTC by Radim Hatlapatka
Modified: 2017-07-13 15:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-13 15:17:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1411825 0 urgent CLOSED Add management/monitoring support for EAP 7.1 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBEAP-5777 0 Blocker Verified EAP 7.1 doesn't work with JON 3.3.x due autodiscovery in JON EAP 7 plugin being broken 2020-03-09 10:54:22 UTC

Internal Links: 1411825

Description Radim Hatlapatka 2016-08-26 13:33:51 UTC
Description of problem:
Having started EAP 7.1.0.DR3, and trying to discover it with JON it fails with NPE [1]

Version-Release number of selected component (if applicable): JON 3.3.5 + jon-plugin-pack-eap-3.3.0.GA-update-04.zip 


How reproducible: always


Steps to Reproduce:
1. start EAP 7.1.0.DR3 in standalone mode
2. run discovery from jon agent, you will see that AS7 plugin found some matching processes, still the full discovery failed with [1] (and in JON server UI the server isn't visible between discovered resources)


Actual results:
EAP 7.1.x server is not discovered


Expected results:
EAP 7.1.x server is discovered.


Additional info:

[1] 2016-08-26 09:22:01,382 DEBUG [ResourceDiscoveryComponent.invoker.daemon-11] (rhq.core.pluginapi.util.JavaCommandLine)- Parsing JavaCommandLine[arguments=[/qa/tools/opt/amd64/jdk1.8.0_last/bin/java, -D[Standalone], -server, -verbose:gc, -Xloggc:/mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/standalone/log/gc.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=5, -XX:GCLogFileSize=3M, -XX:-TraceClassUnloading, -XX:MaxHeapSize=256m, -Xms128m, -Xmx768m, -XX:MetaspaceSize=96M, -XX:MaxMetaspaceSize=256m, -Djava.net.preferIPv4Stack=true, -Djboss.modules.system.pkgs=org.jboss.byteman, -Djava.awt.headless=true, -d64, -Dorg.jboss.boot.log.file=/mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/standalone/log/server.log, -Dlogging.configuration=file:/mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/standalone/configuration/logging.properties, -jar, /mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/jboss-modules.jar, -mp, /mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/modules, org.jboss.as.standalone, -Djboss.home.dir=/mnt/hudson_workspace/jon-workspace/jboss-eap-7.1, -Djboss.server.base.dir=/mnt/hudson_workspace/jon-workspace/jboss-eap-7.1/standalone, -c, standalone-full.xml], includeSystemPropertiesFromClassArguments=true, shortClassOptionFormat=[WHITESPACE, EQUALS_SIGN], longClassOptionFormat=[WHITESPACE, EQUALS_SIGN]]...
2016-08-26 09:22:01,394 ERROR [ResourceDiscoveryComponent.invoker.daemon-11] (rhq.modules.plugins.wildfly10.BaseProcessDiscovery)- Discovery of a EAP7 Standalone Server Resource failed for process: pid=[5379], name=[/qa/tools/opt/amd64/jdk1.8.0_last/bin/java], ppid=[5301].
java.lang.NullPointerException
	at org.rhq.modules.plugins.wildfly10.BaseProcessDiscovery.discoverResources(BaseProcessDiscovery.java:148)
	at org.rhq.modules.plugins.wildfly10.StandaloneASDiscovery.discoverResources(StandaloneASDiscovery.java:106)
	at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:305)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
2016-08-26 09:22:01,394 DEBUG [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Discovery for [EAP7 Standalone Server] resources completed in [12] ms

Comment 1 JBoss JIRA Server 2016-08-30 14:38:28 UTC
Radim Hatlapatka <rhatlapa> updated the status of jira JBEAP-5777 to Closed


Note You need to log in before you can comment on or make changes to this bug.