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 254166 - NoClassDefFoundError: org/netbeans/api/java/source/Task
Summary: NoClassDefFoundError: org/netbeans/api/java/source/Task
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 08:22 UTC by Tomas Hurka
Modified: 2015-08-31 12:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-08-06 08:22:55 UTC
testEnableGivenCluster(org.netbeans.performance.fod.EnableCNDTest) fails with NoClassDefFoundError. See below:


    [junit] Testcase: testEnableGivenCluster(org.netbeans.performance.fod.EnableCNDTest):	Caused an ERROR
    [junit] org/netbeans/api/java/source/Task
    [junit] java.lang.NoClassDefFoundError: org/netbeans/api/java/source/Task
    [junit] 	at org.netbeans.performance.fod.EnablementSpeedBase.testEnableGivenCluster(EnablementSpeedBase.java:99)
    [junit] 	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:102)
    [junit] 	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:478)
    [junit] 	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:404)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
    [junit] 	at org.netbeans.ModuleManager$SystemClassLoader.loadClass(ModuleManager.java:766)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    [junit] Caused by: java.lang.ClassNotFoundException: org.netbeans.api.java.source.Task
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    [junit] 	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
    [junit] 
    [junit] 
    [junit] Test org.netbeans.performance.fod.EnableCNDTest FAILED
Comment 1 Quality Engineering 2015-08-07 01:16:20 UTC
Integrated into 'main-silver', will be available in build *201508070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9a36f3dcec38
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #254166, scanning.Utilities is not needed here
Comment 2 Tomas Hurka 2015-08-31 12:41:07 UTC
fixed by http://hg.netbeans.org/main-silver/rev/9a36f3dcec38