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 33784

Summary: Error when starting 3.5 RC1
Product: obsolete Reporter: galar71 <galar71>
Component: serialversionAssignee: issues@obsolete <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log

Description galar71 2003-05-20 17:41:14 UTC
When I start 3.5.1 RC1, I get the following error message:
--------------
Annotation: Error encountered while reading Modules/org-
netbeans-modules-serialversion.xml
Annotation: C:\Documents and 
Settings\oyrous\.netbeans\3.5rc1\modules\serialversion.jar 
is not a valid NetBeans module.
org.netbeans.core.modules.InvalidException: Not a module: 
no OpenIDE-Module tag in manifest of C:\Documents and 
Settings\oyrous\.netbeans\3.5rc1\modules\serialversion.jar
	at org.netbeans.core.modules.Module.parseManifest
(Module.java:376)
	at org.netbeans.core.modules.Module.<init>
(Module.java:139)
	at org.netbeans.core.modules.ModuleManager.create
(ModuleManager.java:446)
	at org.netbeans.core.modules.ModuleList$1.run
(ModuleList.java:380)
	at 
org.openide.filesystems.EventControl.runAtomicAction
(EventControl.java:89)
	at 
org.openide.filesystems.FileSystem.runAtomicAction
(FileSystem.java:414)
	at org.netbeans.core.modules.ModuleList.readInitial
(ModuleList.java:260)
	at org.netbeans.core.modules.ModuleSystem.readList
(ModuleSystem.java:263)
	at org.netbeans.core.NonGui.run(NonGui.java:469)
	at org.netbeans.core.Main.run(Main.java:235)
	at org.netbeans.core.NbTopManager.getNbTopManager
(NbTopManager.java:236)
	at org.netbeans.core.NbTopManager.get
(NbTopManager.java:195)
	at org.netbeans.core.Main.start(Main.java:409)
	at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:79)
[catch] at java.lang.Thread.run(Thread.java:536)
---------------
I'm not sure it's related, but also at the same token, the 
import of settings/projects from 3.4.1 does not work.

Best Regards,
$Oyvind
Comment 1 Jesse Glick 2003-05-20 18:27:14 UTC
Need your ide.log file ("Create a new attachment"). Also need to know
where serialversion.jar came from. From Auto Update? Downloaded when -
from inside 3.5, or in an earlier version of NetBeans? Need to know
the exact version of serialversion.jar - attach the manifest
(META-INF/MANIFEST.MF).
Comment 2 galar71 2003-05-21 21:34:00 UTC
Created attachment 10368 [details]
ide.log
Comment 3 galar71 2003-05-21 21:38:31 UTC
Hi there..

As you can see I attached ide.log for you. I believe the
serialversion.jar came as a part of the original 3.5RC1 installation.
I do not recall having used the autoupdate on 3.5RC1 yet.

Here's a copy of what's in teh Manifest file:
------------ START -------------
OpenIDE-Module: org.netbeans.modules.serialversion/1
OpenIDE-Module-Name: Serial Version UIDs
OpenIDE-Module-Specification-Version: 0.2
OpenIDE-Module-Implementation-Version: dev-16

Name: org/netbeans/modules/serialversion/SVUIDAction.class
OpenIDE-Module-Class: Action
------------ FINISH ------------
Comment 4 Jesse Glick 2003-05-21 21:46:20 UTC
Huh, you somehow wound up with a copy of serialversion.jar from late
2000 - probably saved in your $userdir/modules/ during an old auto
update session. Its manifest is invalid due to a bug in an old version
of Ant; older versions of NB apparently did not care, but NB 3.5 is
stricter (actually the JDK does the parsing here). You should delete
the JAR, and if you still want to run it, download a current version
(available on the Update Center for 3.5).