RC1: accept import does not work

when Idea prompts me for unknown class import and I press Alt+Enter and pick
desired class from the list with keybord up/down arrows and then press enter
to complete the enter causes new line in editor instead of selecting desired
class to import

it might be related to strange errors I started getting in RC1 build
I have been running Selena under 64 bit JDK6 for ages RC1 seems to have
problems with it ?


2 comments
Comment actions Permalink

Yes it does not work any more under 64bit JVM. In inspection pop-up boxes
(i.e. import class selection) focus stays in editor and errors like these
ones are thrown. Have you started using JNI in idea core functions? Any
chance of 64 bit DLLs?

Thank you

Alex

no jnidispatch in java.library.path
java.lang.UnsatisfiedLinkError: no jnidispatch in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.sun.jna.Native.(Native.java:64) at com.sun.jna.Pointer.(Pointer.java:38) at com.sun.jna.PointerType.(PointerType.java:25) at com.sun.jna.examples.win32.W32API$HANDLE.(W32API.java:48) at com.sun.jna.examples.win32.W32API$HWND.(W32API.java:56) at com.sun.jna.examples.WindowUtils$W32WindowUtils.getHWnd(WindowUtils.java:423) at com.sun.jna.examples.WindowUtils$3.run(WindowUtils.java:486) at com.sun.jna.examples.WindowUtils.whenDisplayable(WindowUtils.java:222) at com.sun.jna.examples.WindowUtils$W32WindowUtils.setWindowAlpha(WindowUtils.java:484) at com.sun.jna.examples.WindowUtils.setWindowAlpha(WindowUtils.java:1150) at com.intellij.openapi.wm.impl.WindowManagerImpl.a(WindowManagerImpl.java:43) at com.intellij.openapi.wm.impl.WindowManagerImpl.setAlphaModeRatio(WindowManagerImpl.java:36) at com.intellij.ui.popup.JBPopupImpl.b(JBPopupImpl.java:46) at com.intellij.ui.popup.JBPopupImpl.show(JBPopupImpl.java:265) at com.intellij.ui.popup.JBPopupImpl.show(JBPopupImpl.java:11) at com.intellij.ui.popup.JBPopupImpl.showInBestPositionFor(JBPopupImpl.java:358) at com.intellij.codeInsight.daemon.impl.actions.AddImportAction.a(AddImportAction.java:53) at com.intellij.codeInsight.daemon.impl.actions.AddImportAction.execute(AddImportAction.java:59) at com.intellij.codeInsight.hint.HintManager.performCurrentQuestionAction(HintManager.java:140) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invoke(ShowIntentionActionsHandler.java:12) at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:44) at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:51) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:26) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:77) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:38) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:26) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:135) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:137) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:97) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:188) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:43) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) and Could not initialize class com.sun.jna.Pointer java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Pointer at com.sun.jna.PointerType.(PointerType.java:25) at com.sun.jna.examples.win32.W32API$HANDLE.(W32API.java:48) at com.sun.jna.examples.win32.W32API$HWND.(W32API.java:56) at com.sun.jna.examples.WindowUtils$W32WindowUtils.getHWnd(WindowUtils.java:423) at com.sun.jna.examples.WindowUtils$3.run(WindowUtils.java:486) at com.sun.jna.examples.WindowUtils.whenDisplayable(WindowUtils.java:222) at com.sun.jna.examples.WindowUtils$W32WindowUtils.setWindowAlpha(WindowUtils.java:484) at com.sun.jna.examples.WindowUtils.setWindowAlpha(WindowUtils.java:1150) at com.intellij.openapi.wm.impl.WindowManagerImpl.a(WindowManagerImpl.java:43) at com.intellij.openapi.wm.impl.WindowManagerImpl.setAlphaModeRatio(WindowManagerImpl.java:36) at com.intellij.ui.popup.JBPopupImpl.b(JBPopupImpl.java:46) at com.intellij.ui.popup.JBPopupImpl.show(JBPopupImpl.java:265) at com.intellij.ui.popup.JBPopupImpl.show(JBPopupImpl.java:11) at com.intellij.ui.popup.JBPopupImpl.showInBestPositionFor(JBPopupImpl.java:358) at com.intellij.codeInsight.daemon.impl.actions.AddImportAction.a(AddImportAction.java:53) at com.intellij.codeInsight.daemon.impl.actions.AddImportAction.execute(AddImportAction.java:59) at com.intellij.codeInsight.hint.HintManager.performCurrentQuestionAction(HintManager.java:140) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invoke(ShowIntentionActionsHandler.java:12) at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:44) at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:51) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:26) at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:77) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:38) at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:26) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:135) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:137) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:97) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:188) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:43) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) "Alex Roytman" ]]> wrote in message
news:fds801$hmh$1@is.intellij.net...

when Idea prompts me for unknown class import and I press Alt+Enter and
pick desired class from the list with keybord up/down arrows and then
press enter to complete the enter causes new line in editor instead of
selecting desired class to import

>

it might be related to strange errors I started getting in RC1 build
I have been running Selena under 64 bit JDK6 for ages RC1 seems to have
problems with it ?



0

Please sign in to leave a comment.