Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 175755 - java.lang.IncompatibleClassChangeError in HeapWalker
java.lang.IncompatibleClassChangeError in HeapWalker
Product: profiler
Classification: Unclassified
Component: Base
All Windows XP
: P1 (vote)
: 6.x
Assigned To: Jiri Sedlacek
Depends on:
  Show dependency treegraph
Reported: 2009-10-30 11:47 UTC by Jiri Sedlacek
Modified: 2010-04-19 23:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2009-10-30 11:47:48 UTC
Due to changes in recent 6u18 builds switching views in the HeapWalker causes the following exception:

java.lang.IncompatibleClassChangeError: Expected static field org.netbeans.lib.profiler.ui.UIUtils$3.dashedRectGapX
	at org.netbeans.lib.profiler.ui.UIUtils$3.paintFocus(
	at javax.swing.plaf.basic.BasicToggleButtonUI.paint(
	at javax.swing.plaf.ComponentUI.update(
	at javax.swing.JComponent.paintComponent(
	at javax.swing.JComponent.paint(
	at javax.swing.JComponent.paintChildren(
	at javax.swing.JComponent.paint(
	at javax.swing.JComponent.paintToOffscreen(
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(
	at javax.swing.RepaintManager$PaintManager.paint(
	at javax.swing.RepaintManager.paint(
	at javax.swing.JComponent._paintImmediately(
	at javax.swing.JComponent.paintImmediately(
	at javax.swing.RepaintManager.paintDirtyRegions(
	at javax.swing.RepaintManager.paintDirtyRegions(
	at javax.swing.RepaintManager.seqPaintDirtyRegions(
[catch] at javax.swing.SystemEventQueueUtilities$
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEvent(
	at org.netbeans.core.TimableEventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Comment 1 Jiri Sedlacek 2009-10-30 11:49:08 UTC
Kind of regression (works fine in 6u16), affects VisualVM / Java VisualVM. The problem is on NB side where a private API
is incorrectly being used.
Comment 2 Tomas Hurka 2009-10-30 12:05:45 UTC
The problem can be reproduced also with 6u17. 
Comment 3 Tomas Hurka 2009-10-30 12:07:49 UTC
This is Windows-only problem, caused by fix of JDK bug 6657138.
Comment 5 Quality Engineering 2009-11-01 10:51:55 UTC
Integrated into 'main-golden', will be available in build *200910310201* on (upload may still be in progress)
User: Jiri Sedlacek <>
Log: Bugfix #175755 - checked call to private API, do not rely on protected fields
Comment 6 dumchikov 2010-04-19 23:00:34 UTC
getting this error in JSDK's jvisualvm.exe -- profiler included with the JSDK

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo