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 91745 - java.lang.IllegalArgumentException: Unknown type: 10
Summary: java.lang.IllegalArgumentException: Unknown type: 10
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 12:21 UTC by tboerkel
Modified: 2007-01-17 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
I am getting LOTS of those exceptions while sources are being scanned. (9.33 KB, text/plain)
2007-01-03 12:22 UTC, tboerkel
Details
Base64.dump (19.12 KB, text/plain)
2007-01-03 12:34 UTC, tboerkel
Details
Base64.java (10.39 KB, text/plain)
2007-01-03 12:35 UTC, tboerkel
Details
Base64.class (5.57 KB, application/octet-stream)
2007-01-03 12:35 UTC, tboerkel
Details
Signature files (1.42 MB, application/x-compressed)
2007-01-03 13:04 UTC, tboerkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-01-03 12:21:17 UTC
I get an exception "java.lang.IllegalArgumentException: Unknown type: 10" while
NB 6.0 (20070102) scans our sources.

Using NB 6.0 daily with JDK 6.0 on Windows Vista. Sources and .class files are
in the same directory.

Attaching message.log.
Comment 1 tboerkel 2007-01-03 12:22:25 UTC
Created attachment 37006 [details]
I am getting LOTS of those exceptions while sources are being scanned.
Comment 2 tboerkel 2007-01-03 12:34:13 UTC
It's worse than I thought. I also get these exceptions on every incovation of
code completion and while editing. It then leaves a .dump file of the edited
source in var\log.

Attaching example "Base64.dump", "Base64.java", "Base64.class".
Comment 3 tboerkel 2007-01-03 12:34:49 UTC
Created attachment 37007 [details]
Base64.dump
Comment 4 tboerkel 2007-01-03 12:35:35 UTC
Created attachment 37008 [details]
Base64.java
Comment 5 tboerkel 2007-01-03 12:35:56 UTC
Created attachment 37009 [details]
Base64.class
Comment 6 Tomas Zezula 2007-01-03 12:44:20 UTC
Can you attach the signature files for the broken source root? The signature
files are located in the nbuser dir under var/cache/index/1.0/${ID}/classes
folder. The ID can be found in the var/cache/index/1.0/segments file, which has
the following format: ID=URL.
Comment 7 tboerkel 2007-01-03 13:04:28 UTC
Created attachment 37011 [details]
Signature files
Comment 8 Jan Lahoda 2007-01-09 12:32:06 UTC
Seems that the sig files were sometimes incorrectly generated. I attempted to
fix this problem. Please delete you caches ($userdir/vat/cache/index/0.1) to
remove the incorrect files and start the IDE again. Please reopen if it happens
again. Thanks.

Checking in src/org/netbeans/modules/java/source/usages/SymbolDumper.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/SymbolDumper.java,v
 <--  SymbolDumper.java
new revision: 1.3; previous revision: 1.2
done
Comment 9 Jesse Glick 2007-01-09 18:56:30 UTC
Verified, though there are other warnings now; see latest attachment to issue
#49371.