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 82175 - Changing diagram while XML validator works throws exceptions
Summary: Changing diagram while XML validator works throws exceptions
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Praveen Savur
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 15:02 UTC by Andrey Yamkovoy
Modified: 2006-09-13 11:56 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 Andrey Yamkovoy 2006-08-08 15:02:55 UTC
Steps to reproduce:
- Open some bpel diagram.
- Invoke XML validation function (press button on toolbar).
- While validator working change the diagram (add some activity or change the 
order of activities).
- Following exceptions occurs:
1)
java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification
(AbstractList.java:374)
	at java.util.AbstractList$Itr.next(AbstractList.java:345)
	at java.util.Collections$UnmodifiableCollection$1.next
(Collections.java:1010)
	at 
org.netbeans.modules.bpel.model.validation.references.ReferencesValidator.collec
tResults(ReferencesValidator.java:119)
	at 
org.netbeans.modules.bpel.model.validation.references.ReferencesValidator.collec
tResults(ReferencesValidator.java:120)
	at 
org.netbeans.modules.bpel.model.validation.references.ReferencesValidator.getRes
ults(ReferencesValidator.java:108)
	at 
org.netbeans.modules.bpel.model.validation.references.ReferencesValidator.valida
te(ReferencesValidator.java:97)
	at org.netbeans.modules.xml.xam.spi.Validation.validate
(Validation.java:73)
	at 
org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate
(ValidationOutputWindowController.java:105)
	at org.netbeans.modules.xml.validation.ValidateAction$RunAction.run
(ValidateAction.java:88)
	at 
org.netbeans.modules.bpel.editors.multiview.DesignerMultiViewElement$BPELValidat
eAction$1.run(DesignerMultiViewElement.java:840)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:932)

2)
java.lang.NullPointerException
	at 
org.netbeans.modules.xml.validation.ui.ValidationOutputWindow$ValidationOutputLi
stener.<init>(ValidationOutputWindow.java:237)
	at 
org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.showError
(ValidationOutputWindow.java:112)
	at 
org.netbeans.modules.xml.validation.ui.ValidationOutputWindow.displayValidationI
nformation(ValidationOutputWindow.java:72)
	at 
org.netbeans.modules.xml.validation.ValidationOutputWindowController.printGuidan
ceInformation(ValidationOutputWindowController.java:116)
	at 
org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate
(ValidationOutputWindowController.java:107)
	at org.netbeans.modules.xml.validation.ValidateAction$RunAction.run
(ValidateAction.java:88)
	at 
org.netbeans.modules.bpel.editors.multiview.DesignerMultiViewElement$BPELValidat
eAction$1.run(DesignerMultiViewElement.java:840)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:932)
Comment 1 Ritesh Adval 2006-09-06 01:45:58 UTC
Not a bpel project bug but validation bug in bpel editor.
changing subcomponent.

Should we have a subcomponent called "validation"?
Comment 2 Praveen Savur 2006-09-11 19:14:15 UTC
fixed on friday. Each validator now validates within a transaction, so this
problem does not occur.

Comment 3 Andrey Yamkovoy 2006-09-13 11:56:49 UTC
fixed