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 75564 - Classpath scanning forever
Summary: Classpath scanning forever
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker with 1 vote (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 14:32 UTC by exal
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (222.71 KB, application/octet-stream)
2007-03-16 14:58 UTC, ejvyas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description exal 2006-04-26 14:32:00 UTC
Never stops scanning the classpath. This happened after importing the jakarta
commons FileUpload. Now the problem is there with or without the .jar in the
project.

Thanks


java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:1077)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:1006)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 exal 2006-04-26 14:36:16 UTC
java.lang.RuntimeException
	at org.netbeans.modules.javacore.JMManager.mountStorage(JMManager.java:344)
	at org.netbeans.modules.javacore.JMManager.rebootStorage(JMManager.java:356)
[catch] at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:921)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
==>
org.netbeans.mdr.util.MountFailedException: Partition mount failed.
	at org.netbeans.mdr.NBMDRepositoryImpl.mountStorage(NBMDRepositoryImpl.java:529)
	at org.netbeans.modules.javacore.JMManager.mountStorage(JMManager.java:334)
	at org.netbeans.modules.javacore.JMManager.rebootStorage(JMManager.java:356)
[catch] at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:921)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
*********** Exception occurred ************ at 3:34 PM on Apr 26, 2006
java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:1077)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:1006)
[catch] at
org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
[org.netbeans.javacore] INFORMATIONAL *********** Exception occurred
************ at 3:34 PM on Apr 26, 2006
java.lang.Exception: rollback!!!
	at org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:339)
	at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:249)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:829)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 2 Jan Becicka 2006-04-26 16:41:47 UTC
please attach whole messages.log.
As a workaround please shutdown the IDE, go to userdir and delete
var/cache/mdrstorage and restart the IDE.

Thanks
Comment 3 exal 2006-04-27 13:21:57 UTC
I have unfortunately deleted the log since I was in a hurry with a project and
just hade to get it running. I hope that the information you have is sufficient
to solve the issue anyway. From what I could see in the log the information you
have here is exactly the same except for it was duplicated for every time the
error was received.
Comment 4 Jan Becicka 2006-05-04 14:29:22 UTC
Pavle, can you take a look at it? Thanks
Comment 5 Pavel Flaska 2006-05-11 14:07:01 UTC
I'm afraid the information described is insufficient. Parameter in
mountStorage() method was null, but it is very difficult to say why without
exact description what you do or without exact steps to reproduce.

I tried to reproduce it, but all worked as expected.
I created J2SE and add jars from commons-attributes library to project.

Comment 6 exal 2006-05-11 14:10:41 UTC
Sorry for not being able to give you more exact information. If this reoccurs I
will save the info for you.
Comment 7 Pavel Flaska 2006-10-26 10:25:18 UTC
Classes which causes this problem are no longer in trunk build after redesign,
this problem shouldn't be reproducible anymore in trunk build.
Comment 8 ejvyas 2007-03-16 14:58:14 UTC
Created attachment 39587 [details]
messages.log
Comment 9 ejvyas 2007-04-09 14:11:47 UTC
So the new version 6.0 has this bug fixed?
Comment 10 ejvyas 2007-04-09 14:23:36 UTC
I deleted C:\Documents and
Settings\${user.dir}\.netbeans\5.5\var\cache\mdrstorage and the problem was solved. 
Comment 11 Quality Engineering 2007-09-20 12:11:32 UTC
Reorganization of java component