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 47946 - Endless classpaths scanning
Summary: Endless classpaths scanning
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 18:49 UTC by skounis
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (24.36 KB, text/plain)
2004-08-25 18:59 UTC, skounis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skounis 2004-08-25 18:49:28 UTC
After some days as the primary IDE netbeans become
unable to start becase an endless loop during
classpaths scanning

The following error message is displayed again and
again and again ..... (I have to terminate process
to stop netbean) (windows xp prof, j2sdk 1.5)


Unexpected exception just after launching NetBeans
scanning project classpaths

A java.util.NoSuchElementException exception has
occurred.
Please report this at
http://www.netbeans.org/issues.html,
including a copy of your messages.log file as an
attachment.
The messages.log file is located in your
C:\Documents and
Settings\root\.netbeans\4.0beta1\var\log folder

details:

java.util.NoSuchElementException
	at
org.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreeListByKey$BtreeListByKeyIterator.next(BtreeListByKey.java:164)
	at
org.netbeans.mdr.storagemodel.IndexImmutSet$IndexImmutIterator.next(IndexImmutSet.java:165)
	at
org.netbeans.mdr.handlers.IndexSetWrapper$IndexIteratorWrapper.next(IndexSetWrapper.java:228)
	at
org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:868)
	at
org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:799)
	at
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:710)
	at
org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:685)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)



A org.netbeans.api.mdr.CreationFailedException
exception has occurred.
Please report this at
http://www.netbeans.org/issues.html,
including a copy of your messages.log file as an
attachment.
The messages.log file is located in your
C:\Documents and
Settings\root\.netbeans\4.0beta1\var\log folder.

details:

java.lang.RuntimeException
	at
org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:783)
	at
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:710)
	at
org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:685)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
==>
org.netbeans.api.mdr.CreationFailedException:
Cannot find created package.
	at
org.netbeans.mdr.NBMDRepositoryImpl.createExtent(NBMDRepositoryImpl.java:481)
	at
org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:779)
	at
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:710)
	at
org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:685)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 skounis 2004-08-25 18:59:40 UTC
Created attachment 17150 [details]
messages.log
Comment 2 lkishalmi 2004-10-06 13:58:39 UTC
I've just bumped in the same or very similar error.
Windows XP, SP2, J2SDK 1.5.0
Comment 3 lkishalmi 2004-10-06 14:11:50 UTC
I was intendet to attach an exception stack trace here, but there is
nothing at startup. When I close NB I've got IllegalStateException.
Comment 4 Martin Matula 2004-10-06 15:07:24 UTC
The root cause of the problem was fixed some time ago. I also upgraded
version of the storage files to force reboot of the metadata storage
when you upgrade to a newer version of NetBeans - to make sure that
the corrupted storage files are auto-repaired.
Feel free to reopen this issue if you encounter the same problem in
tomorrow's or later build.

Checking in manifest.mf;
/cvs/java/javamodel/manifest.mf,v  <--  manifest.mf
new revision: 1.13; previous revision: 1.12
done