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.
A lot of our tests failed with following exception : java.lang.NullPointerException at org.netbeans.jemmy.ClassReference.<init>(ClassReference.java:50) at org.netbeans.jemmy.EventDispatcher.<init>(EventDispatcher.java:90) at org.netbeans.jemmy.operators.ComponentOperator.<init>(ComponentOperator.java:191) at org.netbeans.jemmy.operators.ContainerOperator.<init>(ContainerOperator.java:72) at org.netbeans.jemmy.operators.JComponentOperator.<init>(JComponentOperator.java:100) at org.netbeans.jellytools.TopComponentOperator.<init>(TopComponentOperator.java:161) at gui.window.WebFormDesignerOperator.<init>(WebFormDesignerOperator.java:57) at gui.window.WebFormDesignerOperator.<init>(WebFormDesignerOperator.java:52) at gui.window.WebFormDesignerOperator.findWebFormDesignerOperator(WebFormDesignerOperator.java:89) at gui.window.WebFormDesignerOperator.findWebFormDesignerOperator(WebFormDesignerOperator.java:73) at gui.action.OpenProjectFirstPage.open(OpenProjectFirstPage.java:98) at org.netbeans.performance.test.utilities.PerformanceTestCase.measureTime(PerformanceTestCase.java:294) at org.netbeans.performance.test.utilities.PerformanceTestCase.doMeasurement(PerformanceTestCase.java:222) at gui.action.OpenProjectFirstPage.testOpenSmallProjectFirstPage(OpenProjectFirstPage.java:59) 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:597) at junit.framework.TestCase.runTest(TestCase.java:164) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:59) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:286) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:224) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:302) at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:122) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:165) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:169) at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:124) at org.netbeans.xtest.plugin.ide.MainWithExec.run(MainWithExec.java:85) at org.netbeans.xtest.plugin.ide.Main$3.run(Main.java:300) at java.lang.Thread.run(Thread.java:619)
There is no problem in jemmy. Null is passed org.netbeans.jemmy.operators.JComponentOperator constructor. Moving to jellytools.
Reporter, please do not add stack trace to description. Add it as attachment :-) The failure is caused by UI changes of the Options dialog.
I thought it is the same stack trace like in the commit validation. But it is something different. It is problem in WebFormDesignerOperator. findTopComponent can retunrn null and it causes NullPointerException.
Maksim already fixed this - Am I right ?
verified