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.
Sometimes when user invokes a Print Preview Dialog for the BPEL diagram an NPE is thrown. Could not reproduce this after cleaning user dir and restarting the IDE. Exception: java.lang.NullPointerException at org.netbeans.modules.print.impl.ui.Preview.createPaperPanel(Preview.java:438) at org.netbeans.modules.print.impl.ui.Preview.valueChanged(Preview.java:433) at org.netbeans.modules.print.impl.ui.Percent.valueChanged(Percent.java:208) at org.netbeans.modules.print.impl.ui.Percent.setValue(Percent.java:183) at org.netbeans.modules.print.impl.ui.Percent.setValue(Percent.java:179) at org.netbeans.modules.print.impl.ui.Percent.<init>(Percent.java:114) at org.netbeans.modules.print.impl.ui.Preview.createScalePanel(Preview.java:223) at org.netbeans.modules.print.impl.ui.Preview.createMainPanel(Preview.java:92) at org.netbeans.modules.print.impl.ui.Preview.getDescriptor(Preview.java:596) at org.netbeans.modules.print.impl.ui.Dialog.show(Dialog.java:49) at org.netbeans.modules.print.impl.ui.Preview.doAction(Preview.java:71) at org.netbeans.modules.print.impl.core.Manager.print(Manager.java:68) at org.netbeans.modules.print.impl.action.Action.performAction(Action.java:52) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:261) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:100) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:87) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:80) at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:30) at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:78) at org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:47) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Mikhail, please provide more detailed steps to reproduce.
Unfortunately I can't provide more details. The only chance is that the developer will have a look at the stacktrace and probably will identify the problem. In case this does not help - we can close the bug.
How to reproduce the issue. - start ide, create TRS project - open bpel diagram, close ide - start ide again - press Print Preview button twice
fixed.
Verified in build 2006.09.27