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 128553 - NPE on entering a scope
Summary: NPE on entering a scope
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Kirill Sorokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-27 13:29 UTC by Ivan Sidorkin
Modified: 2008-02-29 13:41 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 Ivan Sidorkin 2008-02-27 13:29:08 UTC
Product Version: NetBeans IDE Dev (Build 200802270005)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

- create SynchronousSample
- open SynchronousSample.bpel in design view
- add scope with empty element 
- try to debug through all elements

java.lang.NullPointerException
	at org.netbeans.modules.bpel.debugger.ui.plinks.PLinksTreeModel.getStaticPartnerLinks(PLinksTreeModel.java:290)
	at org.netbeans.modules.bpel.debugger.ui.plinks.PLinksTreeModel.getPartnerLinks(PLinksTreeModel.java:242)
	at org.netbeans.modules.bpel.debugger.ui.plinks.PLinksTreeModel.getChildren(PLinksTreeModel.java:104)
	at org.netbeans.modules.bpel.debugger.ui.plinks.PLinksTreeModel.getChildrenCount(PLinksTreeModel.java:189)
	at org.netbeans.modules.bpel.debugger.ui.plinks.PLinksTreeModel.isLeaf(PLinksTreeModel.java:195)
	at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.isLeaf(Models.java:1198)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.isLeaf(Models.java:2823)
	at org.netbeans.modules.viewmodel.TreeModelNode.refreshTheChildren(TreeModelNode.java:433)
	at org.netbeans.modules.viewmodel.TreeModelNode.access$500(TreeModelNode.java:88)
	at org.netbeans.modules.viewmodel.TreeModelNode$2.run(TreeModelNode.java:309)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Kirill Sorokin 2008-02-27 13:30:41 UTC
Accepted. This is caused by my code assuming that there will be a partner links container for each and every scope.
Funny, right..
Comment 2 Kirill Sorokin 2008-02-27 19:03:44 UTC
-> FIXED

http://hg.netbeans.org/main/rev/583643e744e0
Comment 3 Kirill Sorokin 2008-02-27 19:04:58 UTC
X
Comment 4 Ivan Sidorkin 2008-02-29 13:41:39 UTC
verified with Build 200802290610