-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Arduino IDE serial port selection unavailable #3311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you using the hourly build? |
This issue seems a duplicate of #2892 which was fixed with 1.6.4 |
I'm having the same issue all of the sudden with 1.6.4. |
I can confirm this problem with arduino-1.6.4 on openSUSE 13.2. In two specific use cases the Arduino IDE generates a JAVA runtime error and the Tools->Port menu item is greyed out so the board is not selectable or loadable. This problem always occurs in two specific use cases and does not matter whether running as root or user:
The key to the problem is an Arduino board being plugged into a USB port before starting the Arduino IDE and the instance of the Arduino IDE being the first instance (occurance) of a login session. If no board is plugged into a USB port under the two use cases above then no JAVA runtime error is generated and the menu item Tools->Port is not greyed out, that is, the IDE is fully functional. After the first time run of the Arduino IDE, with or without an Arduino board plugged in before starting the IDE, the IDE will subsequently run with an Arduino board plugged in before starting the IDE without problems. The workaround is to not plug an Arduino board into a USB port until after the first instance Arduino IDE is running in a login session. This problem is reproducible always. Example of a first time Arduino IDE run in a login session:
At this point the Tools->Port menu item is greyed out and the board is not selectable or loadable. Leaving the Arduino board plugged into the USB port and quitting then restarting the Arduino IDE results in no JAVA runtime error and the Tools->Port menu item is not greyed out - the IDE is now fully functional. My system configuration is stock openSUSE 13.2 GNOME 64-bit with OpenJDK 1.8.
The user is configured into the uucp, dialout, and lock groups. I do not run vmware so this is not the problem as was speculated in another post. If this issue is a duplicate of #2892 then it was NOT fixed with 1.6.4. |
I think I fixed it. It could have been due to your computer taking more than 5 seconds to start parsing the hardware. Now SerialBoardsLister waits indefinitely and it shouldn't fail any more. Fix will be available with next hourly build http://www.arduino.cc/en/Main/Software#hourly |
2015/06/16 04:19 build does not have the issue. It indeed seems to be fixed, many thanks! |
Good to know! Fix is part of IDE 1.6.5, released yesterday |
When my copy of Arduino IDE (2015/06/05 7:26) is started when an Arduino is connected on Ubuntu 15.04 64bit edition computer I can not select any of my Arduinos. When I unplug them all, it starts fine and I am able to select Arduinos I plugged in after the startup. Giving Arduino IDE root permissions did not change anything.
Picked up JAVA_TOOL_OPTIONS:
Exception in thread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" java.lang.NullPointerException
at processing.app.Platform.resolveDeviceByVendorIdProductId(Platform.java:143)
at processing.app.linux.Platform.resolveDeviceAttachedTo(Platform.java:144)
at cc.arduino.packages.discoverers.serial.SerialBoardsLister.run(SerialBoardsLister.java:83)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
The text was updated successfully, but these errors were encountered: