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 64903 - Exception while running standalone module with created top comonent by wizard
Summary: Exception while running standalone module with created top comonent by wizard
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 15:02 UTC by Tomas Danek
Modified: 2005-09-29 13:37 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 Tomas Danek 2005-09-22 15:02:56 UTC
200509211800
1) Create standalone module on default platform (IDE)
2) Create Window Component by wizard, check Open on app starup checkbox
3) Run module
4) Exception occures. But only in case of standalone module, when module in
suite, everything is ok.

Output:



Deploying test module
C:\module4\build\cluster\modules\org-yourorghere-module4.jar...
Disabling StandardModule:org.yourorghere.module4 jarFile:
C:\module4\build\cluster\modules\org-yourorghere-module4.jar...
[WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing
TopComponent for tcID:'MyNewTopComponent'. Reason: Top component
MyNewTopComponent could not be loaded, either owning module was disabled, has
incompatible version or top components settings file format is broken.
INFORMATIONAL *********** Exception occurred ************ at 3:54 PM on Sep 22, 2005
java.io.IOException: Top component MyNewTopComponent could not be loaded, either
owning module was disabled, has incompatible version or top components settings
file format is broken.
[catch] at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:442)
        at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:535)
        at
org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:351)
        at
org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:318)
        at
org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:152)
        at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:39)
        at org.netbeans.core.NonGui$3.run(NonGui.java:218)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
==>
java.io.IOException: Top component MyNewTopComponent could not be loaded, either
owning module was disabled, has incompatible version or top components settings
file format is broken.
[catch] at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:442)
        at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:535)
        at
org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:351)
        at
org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:318)
        at
org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:152)
        at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:39)
        at org.netbeans.core.NonGui$3.run(NonGui.java:218)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Turning off modules:
        org.yourorghere.module4 [1.0 050922]
Enabling StandardModule:org.yourorghere.module4 jarFile:
C:\module4\build\cluster\modules\org-yourorghere-module4.jar...
Turning on modules:
        org.yourorghere.module4 [1.0 050922]
Done.
Comment 1 Tomas Danek 2005-09-22 15:04:21 UTC
Probably not fault of yor wizard, anyway, any idea?
Comment 2 Tomas Danek 2005-09-22 15:18:27 UTC
Jesse, cannot it be regression from your fix of issue 61551?? Just an idea -
tried this on yesterday's 200509201800, and it works ok.
Comment 3 Jesse Glick 2005-09-22 19:19:36 UTC
Milos can you evaluate? I have no idea how to interpret these winsys errors. :-(
Comment 4 Milos Kleint 2005-09-25 19:28:17 UTC
does the module work when you create an nbm and install it in a second IDE instance?
Comment 5 Tomas Danek 2005-09-26 11:47:02 UTC
Hmm, somehow it works for me in current trunk and in current beta too. Hope
someone else will verify after me. 
Comment 6 Tomas Danek 2005-09-29 13:37:48 UTC
Cannot reproduce it any more with latest dev, closing