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 35352 - java.lang.VerifyException when trying to run for the first time
Summary: java.lang.VerifyException when trying to run for the first time
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-09 02:09 UTC by anilp1
Modified: 2008-12-22 18:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (15.36 KB, text/plain)
2003-08-09 02:11 UTC, anilp1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anilp1 2003-08-09 02:09:17 UTC
I had previously installed NB 3.4.1 and now tried to 
update to 3.5.1 from the Update Center. 
At the dialog asking where to install, I changed location 
to C:/Program Files/NetBeans
After the install when I tried to startup, I got this 
error. I am also attaching ide.log

=============
java.lang.VerifyError: Cannot inherit from final class

	at java.lang.ClassLoader.defineClass0(Native 
Method)

	at java.lang.ClassLoader.defineClass
(ClassLoader.java:509)

	at org.netbeans.JarClassLoader.simpleFindClass
(JarClassLoader.java:140)

	at org.netbeans.ProxyClassLoader.smartLoadClass
(ProxyClassLoader.java:480)

	at org.netbeans.ProxyClassLoader.loadClass
(ProxyClassLoader.java:144)

	at java.lang.ClassLoader.loadClass
(ClassLoader.java:262)

	at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:322)

	at java.lang.Class.forName0(Native Method)

	at java.lang.Class.forName(Class.java:207)

	at 
org.openide.util.lookup.MetaInfServicesLookup.search
(MetaInfServicesLookup.java:173)

	at 
org.openide.util.lookup.MetaInfServicesLookup.beforeLookup
(MetaInfServicesLookup.java:78)

	at 
org.openide.util.lookup.AbstractLookup.lookupItem
(AbstractLookup.java:268)

	at org.openide.util.lookup.AbstractLookup.lookup
(AbstractLookup.java:259)

	at org.openide.util.lookup.ProxyLookup.lookup
(ProxyLookup.java:140)

	at org.openide.filesystems.ExternalUtil.initialize
(ExternalUtil.java:94)

	at 
org.openide.filesystems.ExternalUtil.getRepository
(ExternalUtil.java:32)

	at org.openide.filesystems.Repository.getDefault
(Repository.java:124)

	at org.netbeans.core.NbTheme.parseTheme
(NbTheme.java:254)

	at org.netbeans.core.NbTheme.<init>
(NbTheme.java:210)

	at org.netbeans.core.Main.run(Main.java:123)

	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:433)

	at org.netbeans.core.TopThreadGroup.run
(TopThreadGroup.java:79)

[catch] at java.lang.Thread.run(Thread.java:536)
Comment 1 anilp1 2003-08-09 02:11:21 UTC
Created attachment 11258 [details]
ide.log
Comment 2 Richard Gregor 2003-08-11 07:45:57 UTC
Reassign to core. Please, investigate the problem. 
Comment 3 _ ttran 2003-08-11 08:13:02 UTC
this is very bad, you installed the new version over the old
intallation, jars are duplicated all over.  In the ide.log I see two
crimson jars, two regexp jars, etc.  They don't match, no surprise
that we got VerifyExceptions.

Please delete the installation and install the IDE the usual way.
Comment 4 anilp1 2003-08-11 15:26:49 UTC
I went to Update Center and it informed me that there is 
an update (from what I remember). I followed the 
instructions for an install. 
I have deleted the IDE and tried to reinstall, but get the 
same problem.
thanks,
Anil
Comment 5 _ ttran 2003-08-12 08:43:03 UTC
strange that you got the same problem.  Please try again.  First
delete both "C:\Program Files\NetBeans" and "C:\Documents and
Settings\aphili01\.netbeans\3.5", then install NB 3.5.1.  Don't go to
the update center and install any additional modules (yet).

If you still get the error, please attach the ide.log file 
Comment 6 anilp1 2003-08-12 19:09:38 UTC
As instructed, I deleted  "C:\Program Files\NetBeans" 
and "C:\Documents and Settings\aphili01\.netbeans\3.5" and 
tried to install again.
After choosing the default folder to install (or even when 
I created a new folder in C:\NetBeans), it hourglasses and 
hangs for perhaps 30 min.
Comment 7 _ ttran 2003-08-13 08:13:55 UTC
then this is a bug in the installer (it hangs).

Please try the zip file.  Download, and unzip it somewhere on your
disk.  The installer essetially does the same thing, plus create a
desktop and menu shortcuts.  Not much more than that. 
Comment 8 anilp1 2003-08-14 19:39:33 UTC
I used the zip file and am able to run it now using the 
runide.exe

However I had a gui screen generated using the NB Form 
Editor - now I am unable to see it - perhaps that setting 
was not imported? I can now only open it in the Source 
Editor, not the Form Editor. I had not completed designing 
the screen - so help! (I do not want to lose what I had).

I notice a file eg FlightsFrame.form in the same directory 
as FlightsFrame.java

When I mouseover the file the popup says "unrecognized 
file"
Comment 9 _ ttran 2003-08-18 13:28:20 UTC
so this is not a defect in "core".  You mentioned two other issues:
one in installer (it hangs) and one in the form module (inability to
work with old forms).  Please file separate bugs against respective
modules

Thanks
Comment 10 Marian Mirilovic 2003-09-03 16:03:59 UTC
Trung is right - verifying.