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 5867 - During repeated switching filters in Objects Pane in OB java.lang.IllegalArgumentException is thrown.
Summary: During repeated switching filters in Objects Pane in OB java.lang.IllegalArg...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 normal (vote)
Assignee: Petr Slegr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-28 23:25 UTC by Petr Slegr
Modified: 2003-07-02 17:18 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 Petr Slegr 2000-02-28 23:25:31 UTC
To reproduce with attached files (in one package) do:
0) select the package to display classes and interafaces in Objects pane and let all filters on.
1) 5 times turn off and immediately turn on interface filter
2) turn off class filter

With other data a behavior on switching filters is different but may be also incorrect.

******************

java.lang.IllegalArgumentException: Deassign from wrong parent. Old: null Caller: org.openide.loaders.DataObjectFilter@38a0c8
        at org.openide.nodes.Node.deassignFrom(Node.java:180)
        at org.openide.nodes.Children.notifyRemove(Children.java:522)
        at org.openide.nodes.Children.updateRemove(Children.java:493)
        at org.openide.nodes.Children.setEntries(Children.java:452)
        at org.openide.nodes.Children$19.run(Children.java:1533)
        at org.openide.util.Mutex.postRequest(Mutex.java:701)
        at org.openide.util.Mutex.postWriteRequest(Mutex.java:327)
        at org.openide.nodes.Children$Keys.setKeys(Children.java:1530)
        at org.openide.loaders.DataObjectFilter.refreshAllKeys(DataObjectFilter.java:361)
        at org.openide.loaders.DataObjectFilter$5.run(DataObjectFilter.java:474)
        at org.openide.util.Task.run(Task.java:123)
        at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:559)
Comment 1 Jan Stola 2000-10-20 08:18:59 UTC
Verified in build 1126 and 51.
Comment 2 Quality Engineering 2003-07-02 17:18:02 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.