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 128811 - REGRESSION: Validation of valid BPEL fails
Summary: REGRESSION: Validation of valid BPEL fails
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 12:29 UTC by Andrei Chistiakov
Modified: 2008-03-05 11:04 UTC (History)
1 user (show)

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 Andrei Chistiakov 2008-02-29 12:29:18 UTC
Reproduced with build 200802290610.

To reproduce the bug:
- create synchronous BPEL sample;
- create a new BPEL document newProcess.bpel in it;
- validate the new document - it's invalid, correct;
- open SynchronousSample.bpel and validate it;

XML validation started.
D:/abb/SynchronousSample/SynchronousSample/src/newProcess.bpel:2,0
ERROR: To be instantiated, an executable business process must contain at least one <receive> or <pick> activity
annotated with a createInstance="yes" attribute.

D:/abb/SynchronousSample/SynchronousSample/src/newProcess.bpel:2,0
ERROR: To be instantiated, an executable business process must contain at least one <receive> or <pick> activity
annotated with a createInstance="yes" attribute.

2 Error(s),  0 Warning(s).
XML validation finished.

- detele newProcess.bpel;
- validate SynchronousSample.bpel;

java.lang.NullPointerException
	at org.openide.text.Annotation.attach(Annotation.java:117)
	at org.netbeans.modules.bpel.core.util.BPELValidationAnnotation.show(BPELValidationAnnotation.java:65)
	at org.netbeans.modules.bpel.core.util.BPELValidationController.showAnnotationsInEditor(BPELValidationController.java:221)
	at org.netbeans.modules.bpel.core.util.BPELValidationController.notifyListeners(BPELValidationController.java:180)
	at org.netbeans.modules.bpel.core.util.BPELValidationController.access$200(BPELValidationController.java:69)
	at org.netbeans.modules.bpel.core.util.BPELValidationController$1.run(BPELValidationController.java:162)
	at java.util.TimerThread.mainLoop(Timer.java:512)
[catch] at java.util.TimerThread.run(Timer.java:462)

- validate again;

java.lang.NullPointerException
	at org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.getStyledDocument(ValidationOutputWindow.java:217)
	at org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.getLineNumber(ValidationOutputWindow.java:232)
	at org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.showMessage(ValidationOutputWindow.java:156)
	at org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.showError(ValidationOutputWindow.java:141)
	at
org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.displayValidationInformation(ValidationOutputWindow.java:99)
	at
org.netbeans.modules.xml.validation.ValidationOutputWindowController.printGuidanceInformation(ValidationOutputWindowController.java:97)
	at org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate(ValidationOutputWindowController.java:88)
	at org.netbeans.modules.xml.validation.ValidateAction$RunAction.run(ValidateAction.java:112)
	at
org.netbeans.modules.bpel.editors.multiview.DesignerMultiViewElement$BPELValidateAction$1.run(DesignerMultiViewElement.java:979)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Vladimir Yaroslavskiy 2008-02-29 12:35:45 UTC
fixed.
Comment 2 Vladimir Yaroslavskiy 2008-02-29 12:36:34 UTC
done.
Comment 3 Andrei Chistiakov 2008-03-05 11:04:29 UTC
Verified with NetBeans IDE 6.1 Beta (Build 200803050202).