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 85648 - NPE is sometimes thrown when invoking BPEL Print Preview
Summary: NPE is sometimes thrown when invoking BPEL Print Preview
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 15:30 UTC by Mikhail Kondratyev
Modified: 2006-09-29 12:28 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 Mikhail Kondratyev 2006-09-24 15:30:24 UTC
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)
Comment 1 Sergey Lunegov 2006-09-25 07:30:06 UTC
Mikhail, please provide more detailed steps to reproduce.
Comment 2 Mikhail Kondratyev 2006-09-25 08:58:50 UTC
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.
Comment 3 Vladimir Yaroslavskiy 2006-09-25 13:37:15 UTC
How to reproduce the issue.
- start ide, create TRS project
- open bpel diagram, close ide
- start ide again
- press Print Preview button twice
Comment 4 Vladimir Yaroslavskiy 2006-09-25 13:37:38 UTC
fixed.
Comment 5 Mikhail Kondratyev 2006-09-29 12:28:56 UTC
Verified in build 2006.09.27