• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Duplicate
  • Admin Console,Terracotta Developer Console
  • gkeim
  • Reporter: lima
  • July 29, 2010
  • 0
  • Watchers: 0
  • July 27, 2012
  • April 11, 2011

Description

It happened very often. There’s no specific way to replicate the issues consistently though.

Most likely, if you connect to a server, then disconnect from it by clicking on the Disconnect button. Then connect again. You should see exceptions like below:

mlwork:~ lma$ dev-console.sh Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at org.terracotta.modules.ehcache.presentation.model.BaseMBeanModel.tearDown(BaseMBeanModel.java:311) at org.terracotta.modules.ehcache.presentation.model.EhcacheModel.tearDown(EhcacheModel.java:232) at org.terracotta.modules.ehcache.presentation.EhcachePresentationPanel.tearDown(EhcachePresentationPanel.java:377) at com.tc.admin.FeaturePanel.tearDown(FeaturePanel.java:161) at com.tc.admin.FeatureNode.tearDown(FeatureNode.java:92) at com.tc.admin.FeaturesNode.tearDownFeature(FeaturesNode.java:254) at com.tc.admin.FeaturesNode.testUnregisterFeature(FeaturesNode.java:233) at com.tc.admin.FeaturesNode$2.run(FeaturesNode.java:283) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

=

~/terracotta/terracotta-3.3.0/bin/dev-console.sh Exception in thread “Thread-4” java.lang.ArrayIndexOutOfBoundsException: 4 at javax.swing.text.CompositeView.getView(CompositeView.java:143) at javax.swing.text.View.forwardUpdate(View.java:1130) at javax.swing.text.BoxView.forwardUpdate(BoxView.java:223) at javax.swing.text.View.removeUpdate(View.java:726) at javax.swing.text.View.forwardUpdateToView(View.java:1188) at javax.swing.text.View.forwardUpdate(View.java:1161) at javax.swing.text.BoxView.forwardUpdate(BoxView.java:223) at javax.swing.text.View.removeUpdate(View.java:726) at javax.swing.plaf.basic.BasicTextUI$RootView.removeUpdate(BasicTextUI.java:1605) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.removeUpdate(BasicTextUI.java:1865) at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243) at javax.swing.text.html.HTMLDocument.access$500(HTMLDocument.java:85) at javax.swing.text.html.HTMLDocument$HTMLReader.adjustEndElement(HTMLDocument.java:2089) at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2128) at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:231) at javax.swing.JEditorPane.read(JEditorPane.java:555) at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:646)

Comments

Fiona OShea 2010-08-02

I thought this might have been a dup but can’t find anything with the same error. I am probably wrong but thought that Kalai and Himadri had added jiras regarding exceptions seen on the console when disconnecting..

Fiona OShea 2011-04-11

Believe this is a dup of DEV-5358