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 80406

Summary: Validator throws NPE if process have variable of element type
Product: soa Reporter: Andrey Yamkovoy <kaktus>
Component: BPELAssignee: Denis Anisimov <ads>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrey Yamkovoy 2006-07-17 12:41:44 UTC
Steps to reproduce:
- Create Synchronous sample project.
- Open bpel diagram and add to process some variable of element type 'xs:typeA'.
- Wait a few seconds.
- Following NPE occurs:

java.lang.NullPointerException
	at 
org.netbeans.modules.bpel.model.validation.staticanalysis.BPELStaticAnalysisHelp
er.collectPropertyAliases(BPELStaticAnalysisHelper.java:1008)
	at 
org.netbeans.modules.bpel.model.validation.staticanalysis.BPELStaticAnalysisHelp
er.getPropertyAliases(BPELStaticAnalysisHelper.java:998)
	at 
org.netbeans.modules.bpel.model.validation.staticanalysis.BPELStaticAnalysisHelp
er.checkPropertyAliasMultiplicity(BPELStaticAnalysisHelper.java:919)
	at 
org.netbeans.modules.bpel.model.validation.staticanalysis.BPELStaticAnalysisVisi
tor.visit(BPELStaticAnalysisVisitor.java:413)
	at org.netbeans.modules.bpel.model.impl.ProcessImpl.accept
(ProcessImpl.java:268)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept
(BpelEntityImpl.java:206)
	at org.netbeans.modules.bpel.model.validation.AbstractValidator.validate
(AbstractValidator.java:68)
	at org.netbeans.modules.xml.xam.spi.Validation.validate
(Validation.java:73)
	at org.netbeans.modules.bpel.core.validation.BPELValidationController$1
$1.call(BPELValidationController.java:137)
	at org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke
(BpelModelImpl.java:232)
	at 
org.netbeans.modules.bpel.core.validation.BPELValidationController$1.run
(BPELValidationController.java:150)
	at java.util.TimerThread.mainLoop(Timer.java:512)
[catch] at java.util.TimerThread.run(Timer.java:462)
Comment 1 Denis Anisimov 2006-07-18 12:30:18 UTC
I believe this is fixed by Vladimir Yaroslavskiy.
Comment 2 Denis Anisimov 2006-07-18 16:06:14 UTC
*** Issue 80443 has been marked as a duplicate of this issue. ***
Comment 3 Bob May 2006-07-18 16:11:50 UTC
Can we have a definite indication that it was fixed, and in which build? It is
blocking tutorial work.
Thanks.
Comment 4 Denis Anisimov 2006-07-18 16:30:06 UTC
Vladimir, it seems your commit was fixing this issue.
Could you please provide requested information ?
Comment 5 Vladimir Yaroslavskiy 2006-07-18 16:43:19 UTC
Fixed in coke soa build 060718_10.
Comment 6 Mikhail Kondratyev 2006-07-24 12:54:35 UTC
Verified in build from 060723