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 84669 - big jar library result in error parse jar and can not close netbeans
Summary: big jar library result in error parse jar and can not close netbeans
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 10:23 UTC by gooddreams
Modified: 2006-09-26 08:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log with error messages (22 bytes, application/x-compressed)
2006-09-12 10:28 UTC, gooddreams
Details
Dead Screen (6.02 KB, image/png)
2006-09-12 10:32 UTC, gooddreams
Details
ide log file (re upload) (66.55 KB, application/x-gzip)
2006-09-12 10:50 UTC, gooddreams
Details
reupload messages.log file (66.46 KB, application/x-gzip)
2006-09-14 04:47 UTC, gooddreams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gooddreams 2006-09-12 10:23:31 UTC
I created a new library and add lots of jar files (more than 50 files) to it,
then minutes time there was some error occur, a red "-" glint on the status bar
continually. The error is NullPointerException. From log file I find that ide
can not parse the most big jar file (more than 26,000KB, and in a directory
there are more than 10,000 class files), so I checked the jar file, it's ok, and
netbeans v3.6 can mount it and create Code Completion Database OK.

The log file keep increase, and can not close netbeans, the IDE Shutdown dialog
paused in eight persent.

See attach files for log and last screen.
Comment 1 gooddreams 2006-09-12 10:28:55 UTC
Created attachment 33812 [details]
ide log with error messages
Comment 2 gooddreams 2006-09-12 10:32:17 UTC
Created attachment 33813 [details]
Dead Screen
Comment 3 Jiri Prox 2006-09-12 10:39:09 UTC
Cannot open zip with ide log, can you send in one more time, please?
Comment 4 Tomas Zezula 2006-09-12 10:49:51 UTC
The IDE hang up while syncing MDR caches. Unfortunately there is no messages.log.
Can you attach the log again or at least the exceptions which were thrown?
Comment 5 gooddreams 2006-09-12 10:50:34 UTC
Created attachment 33817 [details]
ide log file (re upload)
Comment 6 gooddreams 2006-09-14 04:44:26 UTC
Oh, I can download and open the message.zip(Tue Sep 12 09:50:00 +0000 2006:
messages.zip), I compress the log file with 7zip from sourceforge.net.
OK, I'll attach it again and use gz format.
Comment 7 gooddreams 2006-09-14 04:47:09 UTC
Created attachment 33924 [details]
reupload messages.log file
Comment 8 Jan Becicka 2006-09-15 17:22:57 UTC
Lot of exceptions from MDR. Dane, please take a look at it. Thanks
Comment 9 gooddreams 2006-09-26 08:22:57 UTC
OK, the problem has resolved. It's just need a lot of memory.
I have found the problem, there are too many classes in a directory(in jar
files)    , so the classpath parser need a lot of memory to do it. I expanded
the max memory to 256M, then it works OK.

thanks a lot.