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 58592 - Exception setting source file encoding property
Summary: Exception setting source file encoding property
Status: CLOSED DUPLICATE of bug 58506
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-05-04 22:59 UTC by hlavac
Modified: 2008-12-23 00:22 UTC (History)
1 user (show)

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 hlavac 2005-05-04 22:59:32 UTC
Trying to set source file's Encoding to UTF-8 running Netbeans 4.1rc2 on Mustang
build 34, i get this exception when i try to commit the change. Looks like a
dependency on unpublished Sun API which no longer exists on Mustang?


*********** Exception occurred ************ at 11:52 PM on May 4, 2005
java.lang.NoClassDefFoundError: sun/io/CharToByteConverter
	at org.netbeans.modules.java.JavaNode$2.setValue(JavaNode.java:290)
	at
org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:80)
	at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp(PropUtils.java:434)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:408)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:505)
	at
org.openide.explorer.propertysheet.SheetCellEditor.stopCellEditing(SheetCellEditor.java:288)
	at
org.openide.explorer.propertysheet.SheetCellEditor.actionPerformed(SheetCellEditor.java:175)
	at javax.swing.JTextField.fireActionPerformed(JTextField.java:487)
	at javax.swing.JTextField.postActionEvent(JTextField.java:668)
	at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:783)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1582)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2835)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2870)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2798)
	at java.awt.Component.processEvent(Component.java:5549)
	at java.awt.Container.processEvent(Container.java:1965)
	at java.awt.Component.dispatchEventImpl(Component.java:4211)
	at java.awt.Container.dispatchEventImpl(Container.java:2023)
	at java.awt.Component.dispatchEvent(Component.java:4048)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1825)
	at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:687)
	at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:935)
	at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:813)
	at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:651)
	at java.awt.Component.dispatchEventImpl(Component.java:4086)
	at java.awt.Container.dispatchEventImpl(Container.java:2023)
	at java.awt.Window.dispatchEventImpl(Window.java:1808)
	at java.awt.Component.dispatchEvent(Component.java:4048)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:591)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:247)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:154)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:115)
Comment 1 Martin Krauskopf 2005-05-06 10:12:50 UTC
Ok, should be fixed for 4.2.
Comment 2 Jesse Glick 2005-06-22 18:56:58 UTC
I already fixed it in 4.2.

*** This issue has been marked as a duplicate of 58506 ***
Comment 3 Tomas Danek 2005-07-15 13:20:54 UTC
verified as dup