Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 158146 - [65cat] IllegalArgumentException: No enum const class org.netbeans.api.java.source.CodeStyle$WrapStyle.NEVER
[65cat] IllegalArgumentException: No enum const class org.netbeans.api.java.s...
Status: RESOLVED INCOMPLETE
Product: java
Classification: Unclassified
Component: Source
6.x
All All
: P3 (vote)
: 6.x
Assigned To: Jan Lahoda
issues@java
http://statistics.netbeans.org/except...
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-08 09:33 UTC by big_al
Modified: 2010-03-15 08:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (5.15 KB, text/plain)
2009-02-08 09:33 UTC, big_al
Details
stacktrace (5.15 KB, text/plain)
2009-02-08 21:38 UTC, big_al
Details
stacktrace (5.15 KB, text/plain)
2009-04-12 11:57 UTC, big_al
Details

Note You need to log in before you can comment on or make changes to this bug.
Description big_al 2009-02-08 09:33:03 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
big_al: Saved a JPA entity



Stacktrace: 
java.lang.IllegalArgumentException: No enum const class org.netbeans.api.java.source.CodeStyle$WrapStyle.NEVER
        at java.lang.Enum.valueOf(Enum.java:196)
        at org.netbeans.api.java.source.CodeStyle$WrapStyle.valueOf(CodeStyle.java:735)
        at org.netbeans.api.java.source.CodeStyle.wrapAnnotationArgs(CodeStyle.java:378)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:939)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:311)
        at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:1963)
Comment 1 big_al 2009-02-08 09:33:09 UTC
Created attachment 76705 [details]
stacktrace
Comment 2 big_al 2009-02-08 21:38:02 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
Activated the "Format source" on an Entity annotated bean

Stacktrace: 
java.lang.IllegalArgumentException: No enum const class org.netbeans.api.java.source.CodeStyle$WrapStyle.NEVER
        at java.lang.Enum.valueOf(Enum.java:196)
        at org.netbeans.api.java.source.CodeStyle$WrapStyle.valueOf(CodeStyle.java:735)
        at org.netbeans.api.java.source.CodeStyle.wrapAnnotationArgs(CodeStyle.java:378)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:939)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:311)
        at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:1963)
Comment 3 big_al 2009-02-08 21:38:06 UTC
Created attachment 76716 [details]
stacktrace
Comment 4 Rastislav Komara 2009-02-16 10:36:28 UTC
.
Comment 5 big_al 2009-04-12 11:57:54 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
Invoking source formatting of a class

Stacktrace: 
java.lang.IllegalArgumentException: No enum const class org.netbeans.api.java.source.CodeStyle$WrapStyle.NEVER
        at java.lang.Enum.valueOf(Enum.java:196)
        at org.netbeans.api.java.source.CodeStyle$WrapStyle.valueOf(CodeStyle.java:736)
        at org.netbeans.api.java.source.CodeStyle.wrapAnnotationArgs(CodeStyle.java:379)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:984)
        at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitAnnotation(Reformatter.java:352)
        at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:1963)
Comment 6 big_al 2009-04-12 11:57:58 UTC
Created attachment 79944 [details]
stacktrace
Comment 7 Jan Lahoda 2009-08-20 09:59:51 UTC
Reassigning all moonko's java/source bugs to myself.
Comment 8 Jan Lahoda 2010-03-15 08:41:37 UTC
Sorry, but I do not know how this could happen (except for changing the settings manually in the userdir). Could you please provide steps to reproduce? Thanks.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo