Created attachment 612424 [details] server.log I've just run the JON 3.1.1.CR2 with EPP 5.2.2 GA and Gatein Plugin 1.0.1 We used the following artifacts: * jon-server-3.1.1.CR2.zip * jon-plugin-pack-epp-3.1.1.CR2 (both from: https://brewweb.devel.redhat.com/buildinfo?buildID=232185) * EPP 5.2.2 GA / EAP 5.1.2 GA I've bumped into an issue. The GateIn plugin (1.0.1) seems to we working all-right, but after importing the server from the Inverntory -> Discovery queue, i can't access it from Platforms or Servers. I see this error: Server returned FAILURE with no error message. In the message center I can see more info about this error: Detail : java.lang.RuntimeException:[1347536194761] javax.ejb.EJBException:java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50] -> java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50] --- STACK TRACE FOLLOWS --- [1347536194761] javax.ejb.EJBException:java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50] -> java.lang.IllegalArgumentException:PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50] at Unknown.java_lang_RuntimeException_RuntimeException__V(Unknown Source) at Unknown.com_google_gwt_user_client_rpc_core_java_lang_RuntimeException_1FieldSerializer_instantiate__Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_RuntimeException_2(Unknown Source) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase$MethodMap_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown Source) at Unknown.com_google_gwt_user_client_rpc_impl_SerializerBase_$instantiate__Lcom_google_gwt_user_client_rpc_impl_SerializerBase_2Lcom_google_gwt_user_client_rpc_SerializationStreamReader_2Ljava_lang_String_2Ljava_lang_Object_2(Unknown Source) at Unknown.com_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_$readObject__Lcom_google_gwt_user_client_rpc_impl_AbstractSerializationStreamReader_2Ljava_lang_Object_2(Unknown Source) at Unknown.com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_$onResponseReceived__Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown Source) at Unknown.org_rhq_enterprise_gui_coregui_client_util_rpc_TrackingRequestCallback_onResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(Unknown Source) at Unknown.com_google_gwt_http_client_Request_$fireOnResponseReceived__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(Unknown Source) at Unknown.com_google_gwt_http_client_RequestBuilder$1_onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(Unknown Source) Anyway, I'm able to access the EPP info when I click on Inventory -> All Resources -> Name of my computer, and plugin seems to be working alright. I'm able to reproduce this issue even when using EAP 5.2.1 GA instead of EPP 5.2.2 GA. I think this is not related to plugin, but it is a jon-server issue. On 3.0.1 GA this issue was not present, it seems to be a regression between 3.0.1->3.1.0
Created attachment 612425 [details] agent.log
raising priority. setting target release to JON 3.1.1 (this breaks the EPP plugin). related BZ (same error, but completely different repro steps): https://bugzilla.redhat.com/show_bug.cgi?id=855674
100% reproducible from villiam <vrockai> for me, it's happening all the time
<mfoley> so is this a blocking issue for EPP plugin? <vrockai> EPP plugin seem to be ok and there is a workaround
<mfoley> is the workaround listed in the BZ? <vrockai> should be, let me check <vrockai> Anyway, I'm able to access the EPP info when I click on Inventory -> All <vrockai> Resources -> Name of my computer, and plugin seems to be working alright. <vrockai> it is
discussed with jshaugn and villiam. summary: it's an issue. it's not related to the plugin. it's related to the UI. it's not blocking for JON 3.1.1. troubling that it is so reproducible (100%) for villiam ...and sporadic for others. as a result ... i am setting the target release to jon 3.1.2
This seems possibly related: https://bugzilla.redhat.com/show_bug.cgi?id=808548 Was Villiam testing with a local browser+local server?
Steps to reproduce: 1. Clean up DB 2. Download bundles: (JON server) http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.1.1.CR2/1/maven/org/jboss/on/jon-server/3.1.1.CR2/jon-server-3.1.1.CR2.zip (JON plugins) http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.1.1.CR2/1/maven/org/jboss/on/jon-plugin-pack-epp/3.1.1.CR2/jon-plugin-pack-epp-3.1.1.CR2.zip 3. Unzip both 4. Copy the contents of plugins into jon-server-3.1.1.CR2/plugins 5. Copy attached jboss-log4j.xml into jon-server-3.1.1.CR2/jbossas/server/default/conf 6. Download and unzip EPP 5.2.2 GA, run it. 7. Run the JON server, install it, access JON interface, login (jon-server-3.1.1.CR2$ sh bin/rhq-server.sh start) 8. Go to administration -> downloads, download current agent jar, install it, run it (rhq-agent$ sh bin/rhq-agent.sh) 9. Go to Inventory -> Discovery Queue, and import the EPP server 10. Click on platforms I'm also attaching my DEBUG log (according to my attached log4j settings) and the screenshot of error message. It was tested on Chromium 18, FF 14 and FF 10. Clues: - When I open console in chromium (F12) or firebug in FF, I'm unable to reproduce the issue. After I close the console/firebug, the error is present again. - Even if I only shrink the browser window (so it's not maximalized), I can't reproduce the error. = The error can be reproduced only on maximalized browser window without firebug or chromium console opened.
Created attachment 612496 [details] error screenshot
Created attachment 612497 [details] DEBUG level server.log
Yes, local [browser, server, agent, EAP/EPP]
based on comment #11, related issue is https://bugzilla.redhat.com/show_bug.cgi?id=808548 which might explain why jshaugn and myself did not repro the error from our brosers.
This appears to be related or caused by Bug 851288 and is a result of a UI rendering issue.
*** This bug has been marked as a duplicate of bug 851288 ***