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.
Build: NetBeans IDE Dev (Build 200812181401) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows Vista, 6.0, x86 Stacktrace: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Short at java.lang.Short.compareTo(Short.java:28) at org.netbeans.modules.visualweb.propertyeditors.NumberPropertyEditor.getAsText(NumberPropertyEditor.java:187) at org.openide.explorer.propertysheet.RendererFactory$StringRenderer.reset(RendererFactory.java:967) at org.openide.explorer.propertysheet.RendererFactory$StringRenderer.connect(RendererFactory.java:931) at org.openide.explorer.propertysheet.RendererFactory.prepareString(RendererFactory.java:372) at org.openide.explorer.propertysheet.RendererFactory.getRenderer(RendererFactory.java:235)
Created attachment 75264 [details] stacktrace
Yes, there seems to be an incorrect implementation. Integer property editor is used also for Short type, and also Double property editor is used for Float type as well, which use then different types for boundaries check, leading to this issue (see PropertyEditorResolverImpl in visualweb.propertyeditors).
Obsolete issue. Closing.