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 186872 - [69cat] NoClassDefFoundError: Could not initialize class org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator
Summary: [69cat] NoClassDefFoundError: Could not initialize class org.netbeans.modules...
Status: CLOSED DUPLICATE of bug 166236
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 08:47 UTC by Marian Mirilovic
Modified: 2010-05-31 07:52 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170236


Attachments
stacktrace (1.61 KB, text/plain)
2010-05-28 08:47 UTC, Marian Mirilovic
Details
stacktrace (1.61 KB, text/plain)
2010-05-28 08:53 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2010-05-28 08:47:11 UTC
This issue was reported manually by mmirilovic.
It already has 73 duplicates 


Build: NetBeans IDE 6.9 RC2 (Build 201005272201)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
averri: Editing a Scala source code.

GUEST: opening netbeans dev 201005112200 for the 1st time

GUEST: Error occured on startup of netbeans

blackrat: Launching 6.9 beta for the first time, previously installed version 6.7.

GUEST: Starting NetBeans IDE when this error message popped up.

GUEST: opened new JavaFx Application

xylifyx: Expanding packages in the project tree in a maven project

mmirilovic: Imported settings from NB 6.8 and started new RC2 build

GUEST: Creating a project

GUEST: 1) Deinstalled the 'older' 6.8 Netbeans IDE
2) Installed the actual 6.9 Netbeans IDE Dev 201002152000 with all features
3) Started Netbeans IDE
4) Imported old 6.8 Configuration
5) First time, when the error occured
6) Made a new GroovyJavaDemo - Project
7) Compiled and Run --> Second time, when the error occured

GUEST: Error occurs when creating a rails application.

GUEST: Created a new ruby on rails project. When finished, this error appeared.

juanmas07: just open netbeans and start issues. And by pressing the 'View Data' button in left down corner another exception appeard

GUEST: for new install netbeans

GUEST: moving in editor to the begining of line where class definition were

guyost: Occured after I clicked "Clean and Build" on a Web project (that is included in a JavaEE project).

GUEST: first netbeans startup after installation

blackrat: Launching 6.9 beta for the first time... migrating settings from version 6.7

blackrat: Launching 6.9 beta for the first time, previously installed version 6.7.

GUEST: started netbeans

GUEST: waiting for program to open

GUEST: First boot of software. IllegalStateException crashed app.
Restarted computer (WIndows 7) and app booted with exceptions

malakim: Thrown on IDE launch

GUEST: save the options

franci: building a java project

GUEST: Error occured at launch

GUEST: ide

vernon: Access Tools - Options menu

jglick: Restarted IDE with old userdir (with j2seproject open) using a new config=bloated dev build incl. ergonomics.

GUEST: Started netbeans 6.9

toby_net: When first booting NetBeans 6.9beta after importing user data of NetBeans 6.8.

GUEST: Started the IDE




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator
   at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.doRefresh(TaskCache.java:469)
   at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:461)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1604)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:3226)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:3126)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:2875)
Comment 1 Marian Mirilovic 2010-05-28 08:47:26 UTC
Created attachment 99587 [details]
stacktrace
Comment 2 Marian Mirilovic 2010-05-28 08:51:22 UTC
73 duplicates in a short time
Comment 3 Marian Mirilovic 2010-05-28 08:53:39 UTC
Created attachment 99588 [details]
stacktrace

Imported settings from 6.8 during first startup and then created new JavSE application
Comment 4 Jesse Glick 2010-05-28 14:29:17 UTC
Dupe of some longstanding bug w/ many dupes in editor, I just am not sure how to find it now. Root problem is something relating to loading icons.
Comment 5 Jan Lahoda 2010-05-28 15:45:30 UTC
Longstanding bug w/ many duplicates in platform/Module System: bug #166236. Most likely the resource/whatever cache in var/cache/all-<something> gets broken. ErrorAnnotator is simply trying to load a resource that exists in the same jar (and was put there synchronously with ErrorAnnotator).
Comment 6 Jesse Glick 2010-05-28 15:51:05 UTC

*** This bug has been marked as a duplicate of bug 166236 ***
Comment 7 Marian Mirilovic 2010-05-31 07:52:56 UTC
verified duplicate