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.
Summary: | [65cat] IllegalArgumentException: No enum const class org.netbeans.api.java.source.CodeStyle$WrapStyle.NEVER | ||
---|---|---|---|
Product: | java | Reporter: | big_al <big_al> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | blocker | CC: | big_al |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=146035 | ||
Issue Type: | DEFECT | Exception Reporter: | 146035 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
big_al
2009-02-08 09:33:03 UTC
Created attachment 76705 [details]
stacktrace
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) Created attachment 76716 [details]
stacktrace
. 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) Created attachment 79944 [details]
stacktrace
Reassigning all moonko's java/source bugs to myself. 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. |