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 243099 - IllegalArgumentException: Two fold types share the same code: tags and tags
Summary: IllegalArgumentException: Two fold types share the same code: tags and tags
Status: RESOLVED DUPLICATE of bug 243042
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 15:06 UTC by palman
Modified: 2014-03-28 08:03 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208558


Attachments
stacktrace (4.52 KB, text/plain)
2014-03-20 15:06 UTC, palman
Details
stacktrace (4.52 KB, text/plain)
2014-03-20 17:33 UTC, NukemBy
Details
stacktrace (6.98 KB, text/plain)
2014-03-20 17:45 UTC, Sam.MIT
Details
stacktrace (4.04 KB, text/plain)
2014-03-20 18:30 UTC, Sam.MIT
Details
Editor settings exported (35.55 KB, application/x-zip-compressed)
2014-03-20 22:18 UTC, ivan.cruz
Details
stacktrace (4.52 KB, text/plain)
2014-03-21 06:39 UTC, Martin Fousek
Details
stacktrace (4.52 KB, text/plain)
2014-03-21 07:00 UTC, Martin Fousek
Details
stacktrace (4.52 KB, text/plain)
2014-03-24 10:03 UTC, williambacchi
Details
stacktrace (4.74 KB, text/plain)
2014-03-26 13:21 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description palman 2014-03-20 15:06:43 UTC
Build: NetBeans IDE Dev (Build 201403200001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b05, Java(TM) SE Runtime Environment, 1.8.0_20-ea-b05
OS: Mac OS X

User Comments:
palman: can't open xhtml files anymore

GUEST: started netbeans

GUEST: Can't open a file from the Versioning Output window




Stacktrace: 
java.lang.IllegalArgumentException: Two fold types share the same code: tags and tags
   at org.netbeans.modules.editor.fold.FoldRegistry$R.map(FoldRegistry.java:213)
   at org.netbeans.modules.editor.fold.FoldRegistry$R.values(FoldRegistry.java:196)
   at org.netbeans.modules.editor.fold.LegacySettingsSync.cleanupPreferences(LegacySettingsSync.java:162)
   at org.netbeans.modules.editor.fold.LegacySettingsSync.processMime(LegacySettingsSync.java:109)
   at org.netbeans.modules.editor.fold.FoldHierarchyExecution.getFoldPreferences(FoldHierarchyExecution.java:1210)
   at org.netbeans.modules.editor.fold.FoldHierarchyExecution.getFoldingEnabledSetting(FoldHierarchyExecution.java:1041)
Comment 1 palman 2014-03-20 15:06:45 UTC
Created attachment 146180 [details]
stacktrace
Comment 2 NukemBy 2014-03-20 17:33:29 UTC
Created attachment 146186 [details]
stacktrace

While opening MAVEN project
Comment 3 Sam.MIT 2014-03-20 17:45:29 UTC
Created attachment 146188 [details]
stacktrace

Opening the Projects
Comment 4 Sam.MIT 2014-03-20 18:30:29 UTC
Created attachment 146191 [details]
stacktrace

Click on the Options dialog box -> Code Templates tab
Comment 5 Svata Dedic 2014-03-20 21:34:51 UTC
Reporter(s), could you, please, export and attach your _current_ editor settings ? Did you reuse your 7.x userdir (with settings) for the 8.0 installation ?
Comment 6 ivan.cruz 2014-03-20 22:18:56 UTC
Created attachment 146196 [details]
Editor settings exported
Comment 7 Martin Fousek 2014-03-21 06:39:32 UTC
Created attachment 146205 [details]
stacktrace

Just opened project
Comment 8 Martin Fousek 2014-03-21 07:00:32 UTC
Created attachment 146206 [details]
stacktrace

trying to open .html page of the web project
Comment 9 Svata Dedic 2014-03-21 08:09:14 UTC
Possibly caused by development of issue #243042
Comment 10 williambacchi 2014-03-24 10:03:45 UTC
Created attachment 146264 [details]
stacktrace

opening in editor an html file
Comment 11 Michel Graciano 2014-03-26 13:21:46 UTC
Created attachment 146328 [details]
stacktrace

Opening a HTML file
Comment 12 Svata Dedic 2014-03-28 08:03:11 UTC
Caused by issue #243042

*** This bug has been marked as a duplicate of bug 243042 ***