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 23225 - Race condition in DataShadow.setOriginal w/ invalidated DOs
Summary: Race condition in DataShadow.setOriginal w/ invalidated DOs
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-05-07 18:27 UTC by Jesse Glick
Modified: 2008-12-22 15:55 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 Jesse Glick 2002-05-07 18:27:59 UTC
Originally from issue #17020:

Product Version       = NetBeans IDE Development
Version (Build
200205070100)
  IDE Versioning        = IDE/1 spec=2.17
impl=200205070100
  Operating System      = Linux version 2.4.18
running on i386
  Java; VM; Vendor      = 1.4.1-beta; Java
HotSpot(TM) Client VM
1.4.1-beta-b10; Sun Microsystems Inc.
  Java Home             =
/usr/java/j2sdk1.4/sun/jdk1.4.1/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
=====================================================================

I've receive IllegalStateException when switching
between Projects in
the IDE.

Here is a short stacktrace of ISE:
*********** Exception occurred ************ at Tue
May 07 13:55:45
CEST 2002
java.lang.IllegalStateException: The data object
org/netbeans/modules/vcscore is invalid; you may
not call
getNodeDelegate on it any more; see #17020 and
please fix your code
[catch] at
org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:249)
        at
org.openide.loaders.DataShadow$ShadowNode.originalChanged(DataShadow.java:929)
        at
org.openide.loaders.DataShadow$ShadowNode.access$100(DataShadow.java:572)
        at
org.openide.loaders.DataShadow.setOriginal(DataShadow.java:528)
        at
org.openide.loaders.DataShadow.access$300(DataShadow.java:42)
        at
org.openide.loaders.DataShadow$4.run(DataShadow.java:563)
        at org.openide.util.Task.run(Task.java:136)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 _ ttran 2002-05-09 10:37:32 UTC
added THREAD keyword
Comment 2 David Strupl 2002-07-01 15:57:59 UTC
Fixed in DataShadow 1.44.
Comment 3 pzajac 2003-07-31 11:03:28 UTC
I cannot reproduce it.