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 143648 - java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location
Summary: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.a...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 18:33 UTC by Lukas Hasik
Modified: 2008-11-23 14:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 3647


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-08-12 18:33:52 UTC
Build: NetBeans IDE 6.0 Beta 1 (Build 200709111000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06
OS: Windows Vista, 6.0, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location
        at org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:45)
        at org.apache.tools.ant.types.DataType.<init>(DataType.java:40)
        at org.apache.tools.ant.types.FilterSet.<init>(FilterSet.java:199)
        at org.apache.tools.ant.Project.<init>(Project.java:154)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:172)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:438)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:129)


this exception report has 58 duplicates.
However the latest reports are from April 2008.
Comment 1 Jesse Glick 2008-08-21 01:00:39 UTC
No clue how to reproduce. Sounds like some kind of corruption in the installation.
Comment 2 Exceptions Reporter 2008-10-06 20:08:02 UTC
This issue has already 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=3647
Comment 3 Tomas Danek 2008-10-14 12:35:17 UTC
50 duplicates, all on Windows machines..
Comment 4 Jesse Glick 2008-11-07 17:55:20 UTC
Unfortunate that it happens a lot, but I have no way to reproduce, nor any clue what might be wrong except that the
installation may be corrupt. core-main #e4a7e3f68e1c might produce more useful diagnostic info, or it might not.
Comment 5 Quality Engineering 2008-11-08 04:30:21 UTC
Integrated into 'main-golden', will be available in build *200811080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e4a7e3f68e1c
User: Jesse Glick <jglick@netbeans.org>
Log: Trying to diagnose #143648.
Comment 6 Jesse Glick 2008-11-10 22:18:31 UTC
Related code was just changed significantly in #b67c171c7f6a, which might fix this problem as a side effect, or not.
Still no clue what causes this.
Comment 7 Jesse Glick 2008-11-19 00:31:27 UTC
Closing for now. If it reappears in new dev builds, can try again to add diagnostics.