Community edition editor problems

Hi,

I have just installed the new Community edition on Mac OS/X 10.5 having previously been using a trial of the full EAP version 9.

I am having some issues with the editor. I can cut and paste text into the editor and CRLF seems to work but I can not enter any normal text! This makes it pretty useless. Anyone else had these problems?

Simon

7 comments
Comment actions Permalink

Are there any exceptions reported? Does the problem still happen after a restart?

0
Comment actions Permalink

I tried it again first thing this morning and it worked OK for about an hour.

How it is failing again. There is an exception:

Error during dispatching of java.awt.event.KeyEvent[KEY_RELEASED,keyCode=90,keyText=Z,keyChar=Undefined keyChar,modifiers=⌘,extModifiers=⌘,keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0] on com.intellij.openapi.editor.impl.EditorComponentImpl[,0,-240,994x10536,alignmentX=0.0,alignmentY=0.0,border=,flags=50331648,maximumSize=,minimumSize=,preferredSize=]: Non-Java exception raised, not handled! (Original problem: *** -[NSCFString characterAtIndex:]: Range or index out of bounds)
java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: *** -[NSCFString characterAtIndex:]: Range or index out of bounds)
 at apple.awt.ComponentModel._handleEvent(Native Method)
 at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
 at apple.awt.CWindow.handleEvent(CWindow.java:319)
 at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:735)
 at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)
 at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841)
 at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668)
 at java.awt.Component.dispatchEventImpl(Component.java:4586)
 at java.awt.Container.dispatchEventImpl(Container.java:2143)
 at java.awt.Window.dispatchEventImpl(Window.java:2475)
 at java.awt.Component.dispatchEvent(Component.java:4544)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
 at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:606)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:489)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:371)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

A restart does not help.

I just noticed a possible cause. I have an external USB keyboard (a Microsoft keyboard - sorry). When Inpur Menu is set to use the default keyboard all is fine using both. When it is set to the MS keyboard mappings then it does not work.

Simon

0
Comment actions Permalink

It does look the same.

I should say the keyboard works perfectly in all other applications including IntelliJ 8.1 and, after a brief test, the latest version of IntelliJ Ultimate.

Simon

0
Comment actions Permalink

according to the bug report this is linked to jdk 6, and I believe IDEA 8 only uses JDK 5 on mac right ?

0
Comment actions Permalink

By default it will only use Java 5, right, unless you jump through some hoops to get it to run on Java 6. It's not something you can do by accident.

0
Comment actions Permalink

so that would explain why it works on IDEA 8

0

Please sign in to leave a comment.