Bug 648776
Summary: | JON241: AS plugin: NPE after ConcurrentModificationException in ManagementViewImpl.getDeploymentNamesForType | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> | ||||||||||||||||
Component: | Plugins | Assignee: | Filip Drabek <fdrabek> | ||||||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | ||||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||||
Priority: | low | ||||||||||||||||||
Version: | 1.3.1 | CC: | fdrabek, hbrock, ian.springer, ozizka, rtimaniy | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | 590953 | Environment: | |||||||||||||||||
Last Closed: | 2011-05-24 01:10:21 UTC | Type: | --- | ||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
Embargoed: | |||||||||||||||||||
Bug Depends On: | |||||||||||||||||||
Bug Blocks: | 616081 | ||||||||||||||||||
Attachments: |
|
Description
Charles Crouch
2010-11-02 04:42:38 UTC
Tracking bug for fix going into JON2.4.1 Remove jon24-eap blocker since this was fixed after JON2.4 was out. From a JON perspective we just need to test that 1) Start the default profile 2) Log in to the JON console 3) Deploy some Ear with embedded war still works and no exceptions are observed. ozizka can confirm whether this is fixed in embedded console deployments based off of the RHQ3 branch Ondrej can you test the NPE no longer appears in the EAP5.1 console and we'll test that it is not a problem with the same steps from the JON side Tested on RHQ-Rel 3.0.1 (build #422) Observation: Deploy ear with embedded war gives InstantiationException on UI and server log. 2010-11-10 13:18:00,259 INFO [org.rhq.enterprise.gui.common.upload.FileUploadUIBean] A file named [rhq.ear.ear] with a size of [118758990] has been uploaded to [/tmp/61efe933-12c34794330--525e5669628785717061295.upload] 2010-11-10 13:18:01,196 ERROR [org.rhq.enterprise.gui.common.error.GenericErrorUIBean] Error processing user request org.jboss.seam.InstantiationException: Could not instantiate Seam component: ResourceUIBean at org.jboss.seam.Component.newInstance(Component.java:2096) at org.jboss.seam.Component.getInstance(Component.java:1978) at org.jboss.seam.Component.getInstance(Component.java:1940) at org.jboss.seam.Component.getInstance(Component.java:1934) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166) at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) . . . Please refer attachment for screenshot and server log. Created attachment 459380 [details]
screenshot
Created attachment 459382 [details]
Error stack trace on UI
Created attachment 459383 [details]
server log
Does not happen in EAP 5.1.0 Admin Console. Lukas So this issue appears to have been addressed in the embedded console. But Rajan seems to have found a new problem in JON241, can you investigate and try to reproduce. I could not reproduce this (with jboss-seam-jee5-booking.ear deployed to EAP 5.1.0) Pushing back to QE as could not reproduce. Tested on JON-2.4.1 build #47 (build number: 10963:e45ddc8) Steps: 1) Installed JON-241 2) Discover JBoss-EAP-5.1 3) Goto inventory of JBoss-EAP-5.1 and create new EAR 4) Upload ear with embedded war (jboss-seam-booking.ear) 5) Observe server log and JON UI Observation: Deploy ear with embedded war gives InstantiationException on UI and server log. Exception: 2010-12-20 17:01:13,841 INFO [org.rhq.enterprise.gui.common.upload.FileUploadUIBean] A file named [jboss-seam-booking.war] with a size of [6061503] has been uploaded to [/tmp/24b7f34f-12d02a62e62--125e8511837515861487016.upload] 2010-12-20 17:01:14,594 ERROR [org.rhq.enterprise.gui.common.error.GenericErrorUIBean] Error processing user request org.jboss.seam.InstantiationException: Could not instantiate Seam component: ResourceUIBean at org.jboss.seam.Component.newInstance(Component.java:2170) at org.jboss.seam.Component.getInstance(Component.java:2024) at org.jboss.seam.Component.getInstance(Component.java:1986) at org.jboss.seam.Component.getInstance(Component.java:1980) . . . Caused by: java.lang.IllegalStateException: Required request parameter 'id' is missing. at org.rhq.core.gui.util.FacesContextUtility.getRequiredRequestParameter(FacesContextUtility.java:106) at org.rhq.enterprise.gui.util.EnterpriseFacesContextUtility.getResource(EnterpriseFacesContextUtility.java:75) at org.rhq.enterprise.gui.inventory.resource.ResourceUIBean.<init>(ResourceUIBean.java:100) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Please refer attached server log. Created attachment 469735 [details]
Server log
Rajan, can you attach the .ear file you are using to test with to this bug so we can make sure we're using the same thing Created attachment 469803 [details]
test ear (jboss-seam-booking.ear)
Which browser was used for testing? Was it supported browser? Upload of files to RHQ server is not working in Chrome browser, it throws exception "java.lang.IllegalStateException: Required request parameter 'id' is missing." Tested on JON-2.4.1 build #55 (build number: 10970:3cea406) Test environment: RHEL 5.4 Postgres 8.4 IE-8 and Mozilla-3.6.3 Steps: 1) Installed JON-241 2) Discover JBoss-EAP-5.1 3) Goto inventory of JBoss-EAP-5.1 and create new EAR 4) Upload ear with embedded war (jboss-seam-booking.ear) 5) Observe server log and JON UI Observation: EAR deployment failed and click on 'Failure' it gives failure error message in pop-up. Note: Tested on IE-8 and Mozilla-3.6.3 browsers, both have same EAR deployment failure. Failure error (please refer attached file for complete failure error): java.lang.Exception:Failed to start deployment [vfszip:/data/package/jboss-eap-5.1/jboss-as/server/default/deploy/jboss-seam-booking.ear/] during deployment of 'jboss-seam-booking.ear' - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=jboss-seam-booking.ear/jboss-seam-booking.jar#bookingDatabase' **") Deployment "jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3_endpoint" is missing the following dependencies: Dependency "jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall") ... Server log: 2010-12-22 13:48:56,451 INFO [org.rhq.enterprise.gui.common.upload.FileUploadUIBean] A file named [C:\Users\Administrator\Desktop\jboss-seam-booking.ear] with a size of [7758345] has been uploaded to [/tmp/6e9d50ca-12d0ce44dda--39bd2238560141306330135.upload] 2010-12-22 13:48:58,224 WARN [org.jboss.seam.ui.renderkit.DefaultActionRendererBase] Must set an id for the default action source 2010-12-22 13:49:11,635 INFO [org.rhq.enterprise.server.scheduler.jobs.AsyncResourceDeleteJob] Async resource deletion - 79 successful, 0 failed, took [4145] ms 2010-12-22 13:49:32,550 INFO [org.rhq.enterprise.server.resource.ResourceFactoryManagerBean] Received call to create package backed resource under parent [10781] 2010-12-22 13:50:04,444 INFO [org.rhq.enterprise.server.resource.ResourceFactoryServerServiceImpl] Received create resource response: CreateResourceResponse[RequestId=10021, Status=Failure] 2010-12-22 13:52:50,744 INFO [org.rhq.enterprise.server.discovery.DiscoveryServerServiceImpl] Processed AV:[10.65.193.1][673][full] - need full=[false] in (179)ms Created attachment 470154 [details]
EAR deploy failure error
Created attachment 470157 [details]
screenshot
Verified on JON-2.4.1 build #55 (build number: 10970:3cea406) Looks like there is some issue with jboss-seam-booking.ear, it also give exception in manual deployment. Build new EAR - jboss-seam-itext.ear and tested with it on IE-8 and FF-3.6.3. JON deployed EAR successfully, there isn't any failure/exception found. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |