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 168615 - NullPointerException at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getSchemaComponentTypeName
Summary: NullPointerException at org.netbeans.modules.xml.wsdl.model.extensions.bpel.v...
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 14:14 UTC by mm
Modified: 2009-11-02 08:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 132599


Attachments
stacktrace (4.23 KB, text/plain)
2009-07-15 14:14 UTC, mm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mm 2009-07-15 14:14:32 UTC
Build: NetBeans IDE 6.5.1 (Build 200905151554)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS, 5.11, x86

User Comments:
GUEST: Trying to create a simple BPEL that retrieves a SOAP message, assigns a String literal, and sends a response

GUEST: I'm trying to use a BPEL file and associated wsdl's inside netbeans.  I created these files via Eclipse and hand editing and got them working on ActiveBPEL.  I wanted to see how well NetBeans would work as a development tool.

GUEST: While Validatiion of the BPEL process, I am getting null pointer exception

GUEST: Validating XML



Stacktrace: 
java.lang.NullPointerException<br/>
        at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getSchemaComponentTypeName(ValidationUtil.java:220)<br/>
        at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.findBuiltInType(ValidationUtil.java:182)<br/>
        at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getBuiltInSimpleType(ValidationUtil.java:113)<br/>
        at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getBasedSimpleType(ValidationUtil.java:79)<br/>
        at org.netbeans.modules.bpel.validation.core.BpelValidator.getVariableType(BpelValidator.java:135)<br/>
        at org.netbeans.modules.bpel.validation.variable.Validator.access$500(Validator.java:102)<br/>
Comment 1 mm 2009-07-15 14:14:48 UTC
Created attachment 84780 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-07-15 14:15:31 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=132599
Comment 3 Sergey Lunegov 2009-07-15 14:47:27 UTC
Vladimir, please take a look.
Comment 4 Vladimir Yaroslavskiy 2009-07-20 12:49:44 UTC
added check against NPE: http://hg.netbeans.org/soa-dev65/rev/66cc0566a5fb
Comment 5 jlautz 2009-10-30 23:18:17 UTC
How can I reproduce the scenario to verify the bug fix?
Comment 6 Vladimir Yaroslavskiy 2009-11-02 08:44:21 UTC
I'm not sure how to reproduce, the reporter didn't provide steps to reproduce.
I've added just check against NPE.