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 146284

Summary: [65cat] AssertionError: java.beans.PropertyVetoException:
Product: projects Reporter: Peter Pis <ppis>
Component: AntAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker CC: hmichel, t_h
Priority: P3 Keywords: RANDOM
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=87072
Issue Type: DEFECT Exception Reporter: 87072
Attachments: stacktrace

Description Peter Pis 2008-09-05 09:31:03 UTC
Build: NetBeans IDE Dev (Build 200809040201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments: 
Editing xml throws exception.

Stacktrace: 
java.lang.AssertionError: java.beans.PropertyVetoException: 
        at org.apache.tools.ant.module.nodes.AntNavigatorPanel$1Panel$1.run(AntNavigatorPanel.java:124)
        at org.openide.util.Mutex.postRequest(Mutex.java:1251)
        at org.openide.util.Mutex.postReadRequest(Mutex.java:565)
        at org.apache.tools.ant.module.nodes.AntNavigatorPanel$1Panel.requestFocusInWindow(AntNavigatorPanel.java:116)
        at org.netbeans.modules.navigator.NavigatorTC.requestFocusInWindow(NavigatorTC.java:250)
        at org.netbeans.core.windows.view.ui.AbstractModeContainer.focusSelectedTopComponent(AbstractModeContainer.java:166)
Comment 1 Peter Pis 2008-09-05 09:31:08 UTC
Created attachment 69124 [details]
stacktrace
Comment 2 t_h 2008-09-27 08:17:57 UTC
*** Issue 148507 has been marked as a duplicate of this issue. ***
Comment 3 t_h 2008-09-27 08:18:17 UTC
*** Issue 148536 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2008-10-01 18:22:01 UTC
All the Ant module is doing is calling

manager.setSelectedNodes(new Node[] {manager.getRootContext().getChildren().getNodes(true)[0]})

and ListView is rejecting the selection.

Why would this be unsafe? Some sort of race condition in the explorer?

I will assume it is some unsolvable side effect of our nonexistent threading model (possibly made worse by the Nodes
changes in 6.5?) and just ignore the PVE if it is thrown. core-main #52f47649a1b2
Comment 5 Quality Engineering 2008-10-03 14:45:02 UTC
Integrated into 'main-golden', will be available in build *200810031107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/52f47649a1b2
User: Jesse Glick <jglick@netbeans.org>
Log: #146284: AE from PVE; random?
Comment 6 Peter Pis 2008-10-07 15:40:19 UTC
Verified.