JDK-8017479 : [macosx] jconsole is broken on JDK 8 b94
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • CPU: unknown
  • Submitted: 2013-06-24
  • Updated: 2013-07-03
  • Resolved: 2013-07-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Description
(Seems that the issue is there since b93).
As soon as a connection is established, an output window is displayed containing an NPE stack dumped every sec or so.
Sometimes clicking on  Tabs is not working.
I also observed that double clicking on an MBean attribute of type array doesn't enlarge the row to display the array value.

It occurs on Mac, I didn't try on other platform.


xception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionbnbn
	at javax.swing.text.View.setParent(View.java:339)
	at javax.swing.text.CompositeView.setParent(CompositeView.java:136)
	at javax.swing.text.html.TableView.setParent(TableView.java:817)
	at javax.swing.text.View.setParent(View.java:342)
	at javax.swing.text.CompositeView.setParent(CompositeView.java:136)
	at javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1329)
	at javax.swing.text.CompositeView.replace(CompositeView.java:190)
	at javax.swing.text.BoxView.replace(BoxView.java:181)
	at javax.swing.text.View.updateChildren(View.java:1116)
	at javax.swing.text.View.changedUpdate(View.java:782)
	at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:341)
	at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI.java:1630)
	at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicTextUI.java:1891)
	at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:230)
	at javax.swing.text.html.HTMLDocument.fireChangedUpdate(HTMLDocument.java:1729)
	at javax.swing.text.html.HTMLDocument$HTMLReader.adjustEndElement(HTMLDocument.java:2470)
	at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2525)
	at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:263)
	at javax.swing.JEditorPane.setText(JEditorPane.java:1415)
	at sun.tools.jconsole.HTMLPane.setText(HTMLPane.java:62)
	at sun.tools.jconsole.SummaryTab$1.done(SummaryTab.java:95)
	at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:688)
	at java.awt.EventQueue$3.run(EventQueue.java:685)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

Comments
This is a duplicate of the issue JDK-8015853 The issue has been already fixed in the b96
03-07-2013

Can we get someone from the swing team to have a look at this to see if it is a newly introduced problem? As far as I know there have been no changes in the jconsole code. To reproduce, start bin/jconsole and click on the JConsole process in the dialog. The exception should appear immediately after that.
24-06-2013