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 86729 - There is no "modified" property for the "default language" node
Summary: There is no "modified" property for the "default language" node
Status: VERIFIED DUPLICATE of bug 59261
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 12:02 UTC by Tim Lebedkov
Modified: 2007-02-27 13:47 UTC (History)
0 users

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 Tim Lebedkov 2006-10-07 12:02:34 UTC
WARNUNG [org.netbeans.modules.apisupport.project]: Could not find package-root
clisrc for org.netbeans.modules.sendopts
java.lang.IllegalStateException: Warning - the node "default language"
[org.netbeans.modules.properties.PropertiesLocaleNode] is trying to fire the
property modified which is not included in its property sets. This is illegal.
See IZ #31413 for details.
        at org.openide.nodes.Node.firePropertyChange(Node.java:907)
        at
org.netbeans.modules.properties.FileEntryNode.fireChange(FileEntryNode.java:230)
        at
org.netbeans.modules.properties.FileEntryNode$PropL.propertyChange(FileEntryNode.java:241)
        at
org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:161)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
        at
org.netbeans.modules.properties.PresentableFileEntry.firePropertyChange(PresentableFileEntry.java:300)
        at
org.netbeans.modules.properties.PresentableFileEntry.setModified(PresentableFileEntry.java:237)
        at
org.netbeans.modules.properties.PropertiesEditorSupport$Environment.markModified(PropertiesEditorSupport.java:657)
        at
org.openide.text.CloneableEditorSupport.notifyModified(CloneableEditorSupport.java:1548)
        at
org.netbeans.modules.properties.PropertiesEditorSupport.notifyModified(PropertiesEditorSupport.java:287)
        at
org.openide.text.CloneableEditorSupport.callNotifyModified(CloneableEditorSupport.java:1517)
        at
org.openide.text.CloneableEditorSupport$Listener.vetoableChange(CloneableEditorSupport.java:2297)
        at org.netbeans.editor.BaseDocument.notifyModify(BaseDocument.java:1500)
        at org.netbeans.editor.BaseDocument.atomicUnlock(BaseDocument.java:1459)
        at
org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:905)
        at
org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.java:859)
        at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:256)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2798)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
        at java.awt.Component.processEvent(Component.java:5265)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
        at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
        at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
        at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
        at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
        at java.awt.Component.dispatchEventImpl(Component.java:3841)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 pzajac 2006-10-09 09:00:46 UTC
Reassinged to properties component.
Comment 2 Marian Petras 2007-01-17 13:40:34 UTC
I cannot reproduce this bug any more. It seems fixed in NetBeans 5.5 and
NetBeans 6.0.

Feel free to reopen this issue if you can reproduce the exception.
Comment 3 Marian Petras 2007-01-17 16:24:53 UTC
I just reproduced it.

Steps I did:
1) Create a new project (Java Library).
2) Create Java package 'foo.bar.bug86729' in it.
3) In the package, create a new Properties file named "Bundle".
4) When the properties file editor opens, type something into it.

An exception is thrown as soon as the first letter is typed.

--
NetBeans IDE Dev (Build 070116)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Linux version 2.6.14-1.1656_FC4 running on i386
en_US (nb); UTF-8
Comment 4 Marian Petras 2007-01-17 16:27:48 UTC
It is not 100% reproducible but it is definitely a bug.
Comment 5 Marian Petras 2007-02-15 10:19:50 UTC

*** This issue has been marked as a duplicate of 59261 ***
Comment 6 Tim Lebedkov 2007-02-27 13:47:52 UTC
ok