[GLASSFISH-20470] NullPointerException loading JMS dest UI mngmt after stopping a cluster Created: 06/May/13  Updated: 11/Sep/14

Status: Open
Project: glassfish
Component/s: admin_gui
Affects Version/s: 4.0_b87_RC3
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: Bruno Borges Assignee: Anissa Lam
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The exception bellow was throw after doing the following steps:

1. Create a cluster
2. Add two instances
3. Start cluster
4. Create a JMS Destination 'myQueue' targeted to this cluster
5. Stop the cluster
6. Reopen the JMS destination 'myQueue' configuration page
7. NullPointerException raised

[2013-05-05T22:21:30.948-0300] [glassfish 4.0] [SEVERE] [] [org.glassfish.admingui] [tid: _ThreadID=34 _ThreadName=admin-listener(3)] [timeMillis: 1367803290948] [levelValue: 1000] [[
  RestResponse.getResponse() gives FAILURE.  endpoint = 'http://localhost:4848/management/domain/resources/admin-object-resource/jms%2FmyQueue/property.json'; attrs = '{}']]

[2013-05-05T22:21:30.952-0300] [glassfish 4.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=34 _ThreadName=admin-listener(3)] [timeMillis: 1367803290952] [levelValue: 900] [[
  StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException
	at java.util.ArrayList.addAll(ArrayList.java:530)
	at org.glassfish.admingui.common.handlers.CommonHandlers.filterTable(CommonHandlers.java:717)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.beforeCreate(LayoutComponent.java:348)
	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:288)
	at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:556)


 Comments   
Comment by Bruno Borges [ 06/May/13 ]

I'm not sure now if the steps do reproduce the problem are correct.

Another possibiltiy is that the destination has been deleted, but it remained visible in the navigation tree on the left panel. And when I clicked, it threw the exception above

Generated at Wed Sep 02 13:28:08 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.