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.
Build: Netbeans Milestone 7b Steps to reproduce: 1. Drag in a Tuple or Time Based Aggregator into the IEP Editor 2. Drag in a Table Input and configure the Aggregator operator 3. Validate the process. Result: No error was thrown even though no Stream Input is linked to the Aggregator.
fixed by making input schema as required property and changes in default validator.
When validating this scenario, the appropriate errors were shown, but it also caused a Null Pointer Exception java.lang.NullPointerException at org.netbeans.core.output2.AbstractLines.addListener (AbstractLines.java:512) at org.netbeans.core.output2.OutWriter.println(OutWriter.java:513) at org.netbeans.core.output2.OutWriter.println(OutWriter.java:502) at org.netbeans.core.output2.NbWriter.println(NbWriter.java:46) at org.netbeans.modules.iep.editor.designer.PdCanvas.validatePlan (PdCanvas.java:192) at org.netbeans.modules.iep.editor.designer.PlanDesigner$10.actionPerformed (PlanDesigner.java:164) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3260) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
verified that validation works. The error shown is : C:/tmp/2008/IepModule1/src/valtest.iep:45,12 Error: property "inputSchemaIdList" is required but undefined. verified that no exception occurs.
If I do the described scenario and validate the process, I get no errors. Retested with Java CAPS 6 with NB 6.1 patches applied and IEP nbms for Build080720 (july 20) installed.
started
fixed now.
Verified fixed with Build080909 IEP *.nbms with NB 6.1 with Patch 3 on Windows Vista. I now see lots of validation errors and no NPEs.