Closed sh0 closed 8 years ago
Thanks for reporting. Please skip the Android SDK install for the time being amd perform it manually if necessary. On Sep 20, 2015 4:51 AM, "Siim Meerits" notifications@github.com wrote:
RoboVM Setup dialog thows an exception while doing "Unpacking SDK to /home/sh0/Library/RoboVM/android-sdk". I'm on Gentoo Linux running IntelliJ IDEA 14.1.4. This particular machine does not have RoboVM license entered.
Internal error. Please report to https://youtrack.jetbrains.com
java.lang.NullPointerException at org.robovm.idea.components.setupwizard.AndroidBundledSetupDialog$4$3.run(AndroidBundledSetupDialog.java:181) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at org.robovm.idea.components.RoboVmApplicationComponent.displaySetupWizard(RoboVmApplicationComponent.java:89) at org.robovm.idea.components.RoboVmApplicationComponent.initComponent(RoboVmApplicationComponent.java:53) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:568) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:125) at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:354) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:116) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87) at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:499) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:481) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:170) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:62) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
— Reply to this email directly or view it on GitHub https://github.com/robovm/robovm-idea/issues/101.
This error occurs on a clean install of roboVM in IDEA 15 (release). I am unable to skip the Android NDK installation.
java.lang.NullPointerException
at org.robovm.idea.components.setupwizard.AndroidBundledSetupDialog$4$3.run(AndroidBundledSetupDialog.java:202)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
...
I think the problem is that: "http://download.robovm.org/android-sdks/android-sdk-linux-23-rvm-1.8.tar.gz" doesn't exist.
The windows URL and mac URL work just fine. This is easy to test.
private static final String ANDROID_SDK_URL_MACOSX = "http://download.robovm.org/android-sdks/android-sdk-macosx-23-rvm-1.8.tar.gz";
private static final String ANDROID_SDK_URL_WINDOWS = "http://download.robovm.org/android-sdks/android-sdk-windows-23-rvm-1.8.zip";
private static final String ANDROID_SDK_URL_LINUX = "http://download.robovm.org/android-sdks/android-sdk-linux-23-rvm-1.8.tar.gz";
@badlogic any idea when the file will get added to the server? I'm a bit stuck here, and cannot even startup roboVM.
found work around. it searches for existing sdk in directory %user home%/Library/Android/sdk
The workaround ferdavs suggested worked for me, to fix: ln -s "your sdk location" ~/Library/Android/sdk
I moved this issue over to the main tracker, as we are closing this tracker down. Please see https://github.com/robovm/robovm/issues/1217
RoboVM Setup dialog thows an exception while doing "Unpacking SDK to /home/sh0/Library/RoboVM/android-sdk". I'm on Gentoo Linux running IntelliJ IDEA 14.1.4. This particular machine does not have RoboVM license entered.