-
Notifications
You must be signed in to change notification settings - Fork 132
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
Sloeber crash when opening serial port, java version 10, 11, 15 #1277
Comments
@wimjongman |
With me it is not the serial monitor. I don't use that. Here it is the upload using serial connection -> cannot upload anything to devices |
Both use the same component that @wimjongman changed in #1261 |
No, it was never merged. There are two pull requests waiting. #1262 switches to a new serial library which comes from CDT. #1258 which uses a new jssc library. This worked for me but I am using the AdoptOpenJDK 11 which was also tested in the jssc |
I tried java 11, 15 and 10. in that sequence All Oracle java. Edit : |
@wimjongman |
@hreintke |
#1258 upgrades to a newer jssc version so you can try that first. However. judging from java-native/jssc#65, people have still issues with it. |
Think I have positive news. I applied PR 1258 on my local version,
Which results in the git : Building that locally gives a sloeber version which does not have the serial issue, although not tested extensive. I am not sure on which commit the latest nightly is based, expect the commit marked `jm' in the above picture. This version still has the "make.exe" version issue #1198 |
Thanks for testing. I have released the patch. If you build locally again, then you should have the latest and the greatest.
The nightly is built on the latest commit. |
Master is always WIP. Nightlies are inherently unstable. If you want to publish "stable nightlies" then maybe we should have a "milestone" repo where we can store a stable nightly whilst still building the nightly. |
Indeed but there are currently big works going on. That is why I turned off the nightly. I could have created a branch but due to normal community effort I didn't bother.
IMHO this is lots of work for a problem that hardly ever happens. |
Unless you know someone who could do this or do some WIP work, that would delay the WIP. I only have limited energy and dedication. I focus on WIP right now. I do not expect WIP to stabilize enough to restart the nightly builds this year. |
works on my system as well :-) |
I think my wording was not the best.
As soon as your WIP stabilizes, I am happy to help in testing. |
Yes, that is a good idea. Do we know the commit that was used to build the current nightly? Everything after that should be the WIP branch. This allows for some bugfixing. |
IMHO The last nightly is from 2020 November 24 started at 05:22 military time so shortly after midnight. You do not want #1267 from November 24 see comment #1267 (comment) for why I'll see whether I can create a branch there and fix. No clue how though 😕 |
I succeeded in creating the branch https://github.com/Sloeber/arduino-eclipse-plugin/tree/nightly-fix |
Thanks Wim. |
For testing I wanted to verify a crash before upgradin to nightly and my production setup does not crash 😕 |
I use Oracle java jdk 11.0.9. Probably can test with 11.0.4 tomorrow. |
seems like I'll get the nightly to work with the Wim fix :-) so there is no need to test the old nightly. |
The update site is available but due to plugin interdependencies I fail to update my production setup |
You also have to add the following eclipse update sites: http://download.eclipse.org/eclipse/updates/latest |
I did not have
|
made changes to the update sites in the plugins. Remaking the nightly right now. Hope this will work. |
Still doesn't work.
|
My latest Sloeber platform is...
Testing with ESP8266...
Testing with ESP32...
I wish this counts as a valid test |
@erdemuncuoglu Did you upgrade using the nightly update site? |
Upgrade seems to work from stable to nightly. |
Thanks all for the help :-) |
@jantje Final question on this. I changed the java version in use by removing the old and installing the new java version system wide. |
You change that in sloeber.ini. Google for eclipse.ini
|
Indeed. I have in some .ini files
|
Yes it was. And by the time I read your comment, I got an other update to |
Thanks |
Windows info :
Edition Windows 10 Home
Version 20H2
Installed on 13/11/2020
OS build 19042.685
Experience Windows Feature Experience Pack 120.2212.551.0
Sloeber version : both current and nightly
Multiple platforms same issue (STM32, ESP32, ESP8266)
When running with java version 8, current = OK, nightly -> not running due to java version.
When running either version with version 10, 11 or 15 sloeber crashes when opening serial port.
If no serial port connect there is then there is the correct message -> Port not found.
When connected this is from first part of the eclipse log :
I searched the internet and found multiple identical issues in several projects.
If you want to have specific versions/tests used, just let me know.
The text was updated successfully, but these errors were encountered: