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 49020 - Object with MOFID no longer exists exception causing IDE lock-up
Summary: Object with MOFID no longer exists exception causing IDE lock-up
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 17:18 UTC by gc
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump during deadlock (9.05 KB, text/plain)
2004-09-14 17:19 UTC, gc
Details
stacktrace of original exception (5.67 KB, text/plain)
2004-09-14 17:19 UTC, gc
Details
Proposed patch (837 bytes, patch)
2004-09-15 12:31 UTC, Jan Becicka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gc 2004-09-14 17:18:26 UTC
attached is the full thread dump during the IDE
lockup, as well as the stacktrace of the initial
exception.

After switching configurations in midp project
(where the config's are associated with different
platforms), attached MOFID no longer exists
exception is sometimes thrown.  This is already a
known bug, but this time the exception caused the
Scanning Project Classpaths dialog to remain open
indefinitely.  Because this is a modal dialog, the
IDE is effectively locked, and unsaved data will
be lost (as killing the IDE is the only way to
close it). 

 I can't not reproduce 100% of the time, but it
does eventually reproduce.

The best way to try reproducing this bug would be:
-install the mobility pack
-create a configuration called nokia
-add nokia series 60 emulator platform and wtk
-associate nokia platform with nokia config, wtk
with defaultconfig
-create an object using the following lines as the
class definition

/*#nokia#*///<editor-fold>
//--public class Main extends
com.nokia.mid.ui.FullCanvas
/*$nokia$*///</editor-fold>
/*#!nokia#*///<editor-fold>
public class Main extends Canvas
/*$!nokia$*///</editor-fold>

Switching between configurations will sometimes
throw the exception/cause the deadlock.  The
project that i'm reproducing with has 5 different
configurations and each with a different platform
associated with it.  this might make it more
easier to reproduce as well.
Comment 1 gc 2004-09-14 17:19:26 UTC
Created attachment 17629 [details]
thread dump during deadlock
Comment 2 gc 2004-09-14 17:19:54 UTC
Created attachment 17630 [details]
stacktrace of original exception
Comment 3 Jan Becicka 2004-09-15 12:30:35 UTC
Exception itself is duplicate of issue 48508.

I'm attaching patch, which does not fix the exception, but should
avoid the progress dialog from being opened forever. Can I ask you to
apply this patch and test it? Thanks.
Comment 4 Jan Becicka 2004-09-15 12:31:26 UTC
Created attachment 17644 [details]
Proposed patch
Comment 5 Jan Becicka 2004-09-15 15:07:00 UTC
Patch verified by gc (thanks!) and integrated to trunk:
Checking in JMManager.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v
 <--  JMManager.java
new revision: 1.53; previous revision: 1.52
done

Will be integrated to release40_beta2
Comment 6 Jan Becicka 2004-09-15 17:20:00 UTC
Fixed in release40_beta2
Checking in JMManager.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v
 <--  JMManager.java
new revision: 1.51.4.1; previous revision: 1.51
done
Comment 7 Quality Engineering 2007-09-20 12:45:31 UTC
Reorganization of java component