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 - [65cat] AssertionError: java.beans.PropertyVetoException:
Summary: [65cat] AssertionError: java.beans.PropertyVetoException:
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 148507 148536 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-05 09:31 UTC by Peter Pis
Modified: 2008-10-07 15:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 87072


Attachments
stacktrace (10.45 KB, text/plain)
2008-09-05 09:31 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
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.