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 85120 - NPE when pressing F7 in TRS sample
Summary: NPE when pressing F7 in TRS sample
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 12:36 UTC by Mikhail Kondratyev
Modified: 2006-09-29 12:13 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-18 12:36:49 UTC
Steps to reproduce:
 - create a new TRS sample
 - Deploy the project and associated J2EE application
 - set breakpoint at ReserveAirline activity
 - set breakpoints also at ReserveVehicle, ReserveHotel activities (this is also
suggested in the tutorial)
 - start debugging by running HasNoReservations test
 - debugger will stop at first breakpoint
 - switch to sources, make sure the BPEL variables window is opened
 - select this window, make it active
 - start pressing F7
Press F7 about ten times - the NPE will be thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.bpel.debuggerse.variables.VariablesNode.trim(VariablesNode.java:85)
	at
org.netbeans.modules.bpel.debuggerse.variables.VariablesNode.<init>(VariablesNode.java:49)
	at
org.netbeans.modules.bpel.debuggerse.variables.MessageVariable.<init>(MessageVariable.java:30)
	at
org.netbeans.modules.bpel.debuggerse.variables.LocalsTreeModel.getVariables(LocalsTreeModel.java:172)
	at
org.netbeans.modules.bpel.debuggerse.variables.LocalsTreeModel.getChildren(LocalsTreeModel.java:82)
	at
org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:988)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:2193)
	at
org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:508)
	at
org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:893)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Alexander Zgursky 2006-09-22 17:09:10 UTC
Reproduced
Comment 2 Alexander Zgursky 2006-09-25 15:08:06 UTC
Checking in VariablesNode.java;
/cvs/enterprise/bpel/debuggerse/src/org/netbeans/modules/bpel/debuggerse/variables/Attic/VariablesNode.java,v
 <--  VariablesNode.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
Comment 3 lchang 2006-09-28 23:21:50 UTC
Verified on 0927_5 build, I cannot reproduce
Comment 4 Sergey Lunegov 2006-09-29 06:49:47 UTC
I don't clearly understand why you reopened this issue if you cannot reporduce
it ? Change state to FIXED. Mikhail please verify
Comment 5 Mikhail Kondratyev 2006-09-29 12:13:27 UTC
Verified in build 2006.09.27