This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 161807 - C/V test failed. testInstantiateAllInstances
Summary: C/V test failed. testInstantiateAllInstances
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2009-04-02 20:26 UTC by Ivan Sidorkin
Modified: 2009-04-15 17:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2009-04-02 20:26:57 UTC
Some instances cannot be created File Windows2/Components/evaluator.settings threw: java.io.IOException  at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:603)
 at
org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:420)
 at
org.netbeans.core.validation.ValidateLayerConsistencyTest.testInstantiateAllInstances(ValidateLayerConsistencyTest.java:358)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)  at
java.lang.reflect.Method.invoke(Method.java:585)  at junit.framework.TestCase.runTest(TestCase.java:168)  at
org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:88)  at
org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:336)  at
org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:273)  at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)  at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)  at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)  at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: java.lang.NullPointerException  at
javax.swing.ImageIcon.<init>(ImageIcon.java:138)  at
org.netbeans.modules.debugger.jpda.ui.CodeEvaluator.initComponents(CodeEvaluator.java:374)  at
org.netbeans.modules.debugger.jpda.ui.CodeEvaluator.<init>(CodeEvaluator.java:131)  at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)  at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)  at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)  at java.lang.Class.newInstance0(Class.java:350)  at
java.lang.Class.newInstance(Class.java:303)  at
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:601)
 ... 17 more Caused by: Content:  <?xml version="1.0"?> <!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings
1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd"> <settings version="1.0">     <module
name="org.netbeans.modules.debugger.jpda.ui/1" spec="1.0"/>     <instanceof class="org.openide.windows.TopComponent"/> 
   <instance class="org.netbeans.modules.debugger.jpda.ui.CodeEvaluator"/> </settings>  Class: class
org.netbeans.modules.debugger.jpda.ui.CodeEvaluator Source: MultiFileObject@6d7cf9[Windows2/Components/evaluator.settings]
Comment 1 Daniel Prusa 2009-04-03 09:10:18 UTC
Caused by wrong reference to icon for Evaluate code button.
Comment 2 Daniel Prusa 2009-04-03 12:02:33 UTC
Fixed.
http://hg.netbeans.org/main/rev/9c96cbb2f430
Comment 3 Quality Engineering 2009-04-04 07:38:17 UTC
Integrated into 'main-golden', will be available in build *200904040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9c96cbb2f430
User: Daniel Prusa <dprusa@netbeans.org>
Log: #161807: Evaluate code button - icon reference fixed
unused history toggle button removed, tooltip for dropdown button with lastly evaluated expressions changed
Comment 4 Ivan Sidorkin 2009-04-15 17:09:52 UTC
verified