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

Summary: Switch to source after moving Assign on diagram throws NPE
Product: soa Reporter: Andrey Yamkovoy <kaktus>
Component: BPEL MapperAssignee: Jonelle Almero <jalmero>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE stack trace

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