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 170002 - Problem with Validation of BPEL in NetBeans
Summary: Problem with Validation of BPEL in NetBeans
Status: CLOSED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 16:57 UTC by boldizsp
Modified: 2009-11-09 11:01 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 boldizsp 2009-08-06 16:57:14 UTC
I am trying to validate a BPEL process in NetBeans and it hangs after writing "XML validation started." to the console.
When I try to clean and build the BPEL module, it throws the below exception:

java.lang.NullPointerException
        at
org.netbeans.modules.bpel.model.api.support.ExtensionModelRetriever.getWSDLModels(ExtensionModelRetriever.java:67)
        at org.netbeans.modules.bpel.model.impl.references.WSDLReferenceBuilder.getModels(WSDLReferenceBuilder.java:181)
        at org.netbeans.modules.bpel.model.impl.references.WSDLReferenceBuilder.getWSDLModels(WSDLReferenceBuilder.java:166)
        at org.netbeans.modules.bpel.model.impl.references.WSDLReferenceBuilder.getWSDLModels(WSDLReferenceBuilder.java:162)
        at org.netbeans.modules.bpel.model.impl.references.MessageResolver.resolve(WSDLReferenceBuilder.java:559)
        at org.netbeans.modules.bpel.model.impl.references.GlobalWSDLReferenceImpl.get(GlobalWSDLReferenceImpl.java:58)
        at org.netbeans.modules.bpel.model.impl.references.GlobalWSDLReferenceImpl.get(GlobalWSDLReferenceImpl.java:34)
        at org.netbeans.modules.xml.xam.AbstractReference.isBroken(AbstractReference.java:118)
        at org.netbeans.modules.bpel.validation.reference.Validator$1.checkReferenceCollection(Validator.java:200)
        at org.netbeans.modules.bpel.validation.reference.Validator$1.processEntity(Validator.java:108)
        at org.netbeans.modules.bpel.validation.reference.Validator$1.processEntity(Validator.java:113)
        at org.netbeans.modules.bpel.validation.reference.Validator$1.processEntity(Validator.java:113)
        at org.netbeans.modules.bpel.validation.reference.Validator$1.visit(Validator.java:80)
        at org.netbeans.modules.bpel.model.impl.ProcessImpl.accept(ProcessImpl.java:237)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:228)
        at org.netbeans.modules.bpel.validation.core.BpelValidator$1.run(BpelValidator.java:102)
        at org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke(BpelModelImpl.java:250)
        at org.netbeans.modules.bpel.validation.core.BpelValidator.validate(BpelValidator.java:106)
        at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:95)
        at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:198)
        at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:160)
        at org.netbeans.modules.soa.validation.core.Controller.ideValidate(Controller.java:154)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.validateFile(IdeValidateBpelProjectTask.java:252)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFile(IdeValidateBpelProjectTask.java:225)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFiles(IdeValidateBpelProjectTask.java:188)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFolder(IdeValidateBpelProjectTask.java:182)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFileObject(IdeValidateBpelProjectTask.java:176)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDir(IdeValidateBpelProjectTask.java:171)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDirs(IdeValidateBpelProjectTask.java:166)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:139)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Is this related to the Netbeans IDE (and its BPEL tooling) or the organisation of my project is wrong?
Can you suggest a solution to this problem?

Thanks
Peter Boldizs
Comment 1 Sergey Lunegov 2009-08-07 08:54:37 UTC
Vladimir, this is in trunk. Please take a look.
Comment 2 Sergey Lunegov 2009-08-07 08:57:51 UTC
Peter, what build did you use ?
Comment 3 Sergey Lunegov 2009-08-07 09:08:28 UTC
Peter, please attach your BPEL project.
Comment 4 boldizsp 2009-08-07 18:26:59 UTC
With regard to this issue (and issue #170048), I would also like to note the following: When I installed Netbeans 6.7
and used its own tool to install the SOA plugin (1.3 beta), the same BPEL project could be validated and built without
any problems.
Comment 5 Vladimir Yaroslavskiy 2009-08-11 10:47:59 UTC
ExtensionModelRetriever class doesn't exist in trunk, it exists in gfesbv211, where fix was applied.
Comment 6 terrybraun 2009-11-09 11:01:05 UTC
QA was unable to reproduce this problem with the GFESB Build of 11/06/09, including NetBeans IDE 6.7.1 (Build 200911041804).

The issue is Closed. If the author can reproduce it, please feel free to reopen the ticket with appropriat steps for reproduction.