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 113823 - SEVERE: Language definition for not found.
Summary: SEVERE: Language definition for not found.
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
: 115948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-27 08:33 UTC by noot
Modified: 2007-10-08 14:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace for RHTML. (3.62 KB, text/plain)
2007-09-14 08:06 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description noot 2007-08-27 08:33:19 UTC
I was typing EL into a tag file. The text is like the following

<input class="foo" type="text" name="foo"
              id="foo" value="${me>

I entered the ${me inside the = and the > and when I typed the e it happened. I cannot reproduce this error.

SEVERE: Language definition for text/x-el not found.
org.netbeans.api.languages.LanguageDefinitionNotFoundException: Language definition for text/x-el not found.
        at org.netbeans.modules.languages.LanguagesManager.getLanguage(LanguagesManager.java:91)
[catch] at org.netbeans.modules.languages.features.CompletionSupport.getConfirmChars(CompletionSupport.java:318)
        at org.netbeans.modules.languages.features.CompletionSupport.processKeyEvent(CompletionSupport.java:224)
        at org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:507)
        at org.netbeans.modules.editor.completion.CompletionImpl.keyTyped(CompletionImpl.java:333)
        at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:182)
        at java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:181)
        at java.awt.Component.processKeyEvent(Component.java:5472)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2722)
        at java.awt.Component.processEvent(Component.java:5294)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3984)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:681)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:938)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:810)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:645)
        at java.awt.Component.dispatchEventImpl(Component.java:3857)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        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 Jiri Skrivanek 2007-09-14 08:06:17 UTC
The same happens for me with text/x-ruby. To reproduce:

- create Ruby project
- open new file wizard
- choose Ruby|RHTML File
- finish the wizard and exception is repeateadly printed to console

org.netbeans.api.languages.LanguageDefinitionNotFoundException: Language definition for text/x-ruby not found.
	at org.netbeans.modules.languages.LanguagesManager.getLanguage(LanguagesManager.java:91)

Build 200709140225, JDK1.6.0_03-b02.
Comment 2 Jiri Skrivanek 2007-09-14 08:06:58 UTC
Created attachment 48800 [details]
Stack trace for RHTML.
Comment 3 Torbjorn Norbye 2007-09-23 22:14:56 UTC
This is probably a duplicate of 115948 (or vice versa)
Comment 4 Jan Jancura 2007-09-24 08:48:16 UTC
*** Issue 115948 has been marked as a duplicate of this issue. ***
Comment 5 Jan Jancura 2007-09-24 12:59:55 UTC
fixed in trunk:
IDE: [9/24/07 1:58 PM] Committing "SemanticHighlightsLayer.java" started
Checking in SemanticHighlightsLayer.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/features/SemanticHighlightsLayer.java,v  <-- 
SemanticHighlightsLayer.java
new revision: 1.9; previous revision: 1.8
Checking in CompletionSupport.java;
/cvs/languages/engine/src/org/netbeans/modules/languages/features/CompletionSupport.java,v  <--  CompletionSupport.java
new revision: 1.13; previous revision: 1.12
done
IDE: [9/24/07 1:58 PM] Committing "SemanticHighlightsLayer.java" finished
Comment 6 Jiri Skrivanek 2007-10-08 14:00:40 UTC
Verified.