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 127960

Summary: javax.imageio.IIOException: Unexpected block type 0!
Product: contrib Reporter: Tomas Mysik <tmysik>
Component: CodecoverageAssignee: Mikhail Kondratyev <mikk>
Status: RESOLVED FIXED    
Severity: blocker CC: alexlamsl, devon_c_miller, fireballdwf, jiai, joecsc, leafrrr, lsisqo25, mjr_1974, pjiricka, proktor, rafadc, redent, roridge, squib, tacomait, tk_fhd_aui, wdelacruz, zian
Priority: P1 Keywords: RANDOM
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=17245
Issue Type: DEFECT Exception Reporter: 17245
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Tomas Mysik 2008-02-20 22:04:39 UTC
Build: NetBeans IDE Dev (Build 200801280931)
VM: Java HotSpot(TM) Server VM, 10.0-b19
OS: Linux, 2.6.24-gentoo-r2, i386

User Comments: 
options -> fonts & colors
Comment 1 Tomas Mysik 2008-02-20 22:04:49 UTC
Created attachment 56948 [details]
stacktrace
Comment 2 Lukas Hasik 2008-02-21 09:23:13 UTC
Unable to reproduce. The issue has 12 duplicates
Comment 3 Tomas Mysik 2008-02-23 18:20:15 UTC
Build: NetBeans IDE Dev (Build 20080223152643)
VM: Java HotSpot(TM) Server VM, 10.0-b19
OS: Linux, 2.6.24-gentoo-r2, i386

User Comments: 
Tools -> Options -> Fonts & Colors
Comment 4 Tomas Mysik 2008-02-23 18:20:18 UTC
Created attachment 57138 [details]
stacktrace
Comment 5 mjreged 2008-02-26 21:16:49 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-ea-b02
OS: Windows XP, 5.1, x86

User Comments: 
Comment 6 mjreged 2008-02-26 21:16:52 UTC
Created attachment 57307 [details]
stacktrace
Comment 7 Vitezslav Stejskal 2008-02-28 09:01:45 UTC
Most likely a broken icon for some annotation. We'll add better logging to find out what annotation exactly is broken
and then file an issue for its module.
Comment 8 Exceptions Reporter 2008-03-11 10:21:21 UTC
This issue has already 20 duplicates 
Comment 9 _ alexlamsl 2008-03-12 09:55:51 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2000, 5.0, x86

User Comments: 
Tools --> Options
Fonts & Colors
Comment 10 _ alexlamsl 2008-03-12 09:55:53 UTC
Created attachment 58214 [details]
stacktrace
Comment 11 Vitezslav Stejskal 2008-03-12 14:10:08 UTC
I improved the logging. Next time it happens (I am not able to reproduce it in a dev build) please attach
<userdir>/var/log/messages.log here. Also, did you import settings from NB6.0 or 5.x? Thanks

http://hg.netbeans.org/main/rev/80011e28efd3
Comment 12 _ alexlamsl 2008-03-12 14:19:50 UTC
Not that I am aware of - it is a clean startup of 6.1 beta, although the cache for 6.0 does exist in a different 
location.

I am under the impression that I would get prompted for importing settings from an older version of NetBeans.
Comment 13 _ alexlamsl 2008-03-12 14:28:46 UTC
I could not upgrade to the latest dev build any time soon, unfortunately.
Comment 14 Vitezslav Stejskal 2008-03-13 08:36:25 UTC
So, it's clean 6.1 beta with no additional modules, fresh userdir and it crashes when you simply go to Tools-Options ->
Fonts & Colors? What bundle did you install - Java SE, Ruby, C/C++, All, ...? I tested it with 'All' and it didn't
crash. Unless of course I didn't do something that you did.

Anyway, please attach the messages.log even from the version you've got now. It could contain some useful information
that is not in the exception stacktrace. Thanks a lot
Comment 15 adam_myatt 2008-03-20 16:05:45 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86

User Comments: 
CLicking the top-level icons displayed along the top of the Basic Options window. Clicked the Fonts & Colors icon, then Keymap icon in nav menu. Error occurred for one or the other of them.
Comment 16 adam_myatt 2008-03-20 16:05:55 UTC
Created attachment 58763 [details]
stacktrace
Comment 17 Jiri Prox 2008-04-11 00:44:50 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 18 Exceptions Reporter 2008-04-29 13:57:14 UTC
This issue has already 50 duplicates 
Comment 19 Vitezslav Stejskal 2008-04-30 10:03:33 UTC
The problem is with org/netbeans/modules/coverage/resources/icons/coverage_complete.gif, which for some reason can't be
loaded. I believe this comes from 'http://hg.netbeans.org/main-misc/codecoverage/CoverageViewerApp'.

The code coverage module is not part of the stable distro, which is why the problem does not normally happen. You need
to install the coverage module first. I haven't tried though.
Comment 20 Vitezslav Stejskal 2008-08-21 09:52:06 UTC
*** Issue 143998 has been marked as a duplicate of this issue. ***
Comment 21 Vitezslav Stejskal 2008-08-21 14:05:03 UTC
*** Issue 143998 has been marked as a duplicate of this issue. ***
Comment 22 Vitezslav Stejskal 2008-08-21 14:05:54 UTC
P2 because of all the duplicates.
Comment 23 Mikhail Kondratyev 2008-12-23 09:36:10 UTC
Sorry, but I have no time to work on the fix in the near future. I will try to find someone to look into this.
Comment 24 Vitezslav Stejskal 2009-04-01 13:00:59 UTC
*** Issue 161650 has been marked as a duplicate of this issue. ***
Comment 25 Marian Mirilovic 2009-04-15 09:06:38 UTC
296 dups ... also for NB 6.5.1
Comment 26 Martin Schovanek 2009-04-16 21:40:11 UTC
Fixed by: http://hg.netbeans.org/main/misc/rev/caeacf41e259