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 84007 - Switch to source after moving Assign on diagram throws NPE
Summary: Switch to source after moving Assign on diagram throws NPE
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jonelle Almero
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-09-01 12:16 UTC by Andrey Yamkovoy
Modified: 2006-09-11 15:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE stack trace (5.25 KB, text/plain)
2006-09-01 12:17 UTC, Andrey Yamkovoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-09-01 12:16:40 UTC
Steps to reproduce:
- Create Synchronous sample project and open bpel.
- Move Assign on diagram to new place.
- Switch to source.
- Following NPE appears (full stack trace is attached):
java.lang.NullPointerException
	at 
org.netbeans.modules.bpel.xpath.model.node.visitor.UpstreamVariableFinderVisitor
.traverseEntity(UpstreamVariableFinderVisitor.java:97)
	at 
org.netbeans.modules.bpel.xpath.model.node.visitor.UpstreamVariableFinderVisitor
.visit(UpstreamVariableFinderVisitor.java:77)
	at 
org.netbeans.modules.bpel.model.api.support.BpelModelVisitorAdaptor.visit
(BpelModelVisitorAdaptor.java:152)
	at org.netbeans.modules.bpel.model.impl.AssignImpl.accept
(AssignImpl.java:160)
	at 
org.netbeans.modules.bpel.xpath.model.node.visitor.UpstreamVariableFinderVisitor
.<init>(UpstreamVariableFinderVisitor.java:50)
	at 
org.netbeans.modules.bpel.xpath.view.expression.impl.TargetTreeCellRendererFacto
ryImpl$BusinessProcessTreeCellRenderer.isVariableNodeInStream
(TargetTreeCellRendererFactoryImpl.java:192)
	at 
org.netbeans.modules.bpel.xpath.view.expression.impl.TargetTreeCellRendererFacto
ryImpl$BusinessProcessTreeCellRenderer.getTreeCellRendererComponent
(TargetTreeCellRendererFactoryImpl.java:162)
Comment 1 Andrey Yamkovoy 2006-09-01 12:17:49 UTC
Created attachment 33499 [details]
NPE stack trace
Comment 2 Jonelle Almero 2006-09-07 22:28:29 UTC
Check for bpel's container value before accessing it.
Comment 3 Andrey Yamkovoy 2006-09-11 15:51:23 UTC
fixed