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 253673 - [newcodemodel] java.lang.Exception: Not For Clank Mode
Summary: [newcodemodel] java.lang.Exception: Not For Clank Mode
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 09:01 UTC by Alexander Simon
Modified: 2015-08-20 01:26 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 Alexander Simon 2015-07-23 09:01:25 UTC
Exception in tests log.

    [junit] Jul 23, 2015 3:31:40 AM org.netbeans.modules.cnd.utils.CndUtils assertTrueInConsole
    [junit] INFO: Not For Clank Mode
    [junit] java.lang.Exception: Not For Clank Mode
    [junit] 	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:218)
    [junit] 	at org.netbeans.modules.cnd.apt.support.APTBuilder.buildAPT(APTBuilder.java:65)
    [junit] 	at org.netbeans.modules.cnd.folding.APTFoldingParser.getParser(APTFoldingParser.java:109)
    [junit] 	at org.netbeans.modules.cnd.folding.APTFoldingParser.testParse(APTFoldingParser.java:122)
    [junit] 	at org.netbeans.modules.cnd.folding.APTFoldingProviderTestCase.performTest(APTFoldingProviderTestCase.java:102)
    [junit] 	at org.netbeans.modules.cnd.folding.APTFoldingProviderTestCase.testSimpleFolding(APTFoldingProviderTestCase.java:79)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:606)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:176)
    [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)
Comment 1 Vladimir Voskresensky 2015-07-23 12:27:24 UTC
Ilia, please, disable APT-based folding which is not used anymore. Btw, it's worth to exclude APT-based folding from CND at all
Comment 2 ilia 2015-08-17 16:24:15 UTC
Fixed in:
  http://hg.netbeans.org/cnd-main/rev/7b034bccd652
Comment 3 Quality Engineering 2015-08-20 01:26:38 UTC
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7b034bccd652
User: Ilia Gromov <ilia@netbeans.org>
Log: fixed Bug 253673 - [newcodemodel] java.lang.Exception: Not For Clank Mode
 - removed cnd.folding module
 - cleaned text occurrences