Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

IDE Tooling error #1848

Closed
cdjackson opened this issue Jul 10, 2016 · 15 comments
Closed

IDE Tooling error #1848

cdjackson opened this issue Jul 10, 2016 · 15 comments

Comments

@cdjackson
Copy link
Contributor

I'm getting the following error when the IDE starts. It's causing some significant issues in the IDE (eg inability to set breakpoints!).

image

This started today when I ran all the various updates (ie resynced all repos and ran the setup tasks) and I've not managed to get rid of it. I've also tried a fresh install and it's still there. Some things online seem to indicate issues with groovy versions?

@cdjackson
Copy link
Contributor Author

Another error during save - again - with a clean install.

image

@kaikreuzer
Copy link
Contributor

Just to be clear: This is a completely clean install of the ESH IDE (not OH2) using the Eclipse Installer and Eclipse Neon as a base?

@cdjackson
Copy link
Contributor Author

This was a fresh install of the IDE and I ticked ESH and OH2 distro’s. Do you want me to move this under OH2?

@kaikreuzer
Copy link
Contributor

Well, yes, if this issue is NOT about https://www.eclipse.org/smarthome/documentation/development/ide.html, then better report it at openhab-distro. Would be interesting though if the same happens for the ESH IDE.

@cdjackson
Copy link
Contributor Author

Well, I used the instructions on that page, but I ticked the boxes in the openHAB2 github section. This includes ESH…

@cdjackson cdjackson reopened this Jul 10, 2016
@cdjackson
Copy link
Contributor Author

cdjackson commented Jul 10, 2016

I just installed the ESH runtime and it's got the same issue, so reopening...

openhab/openhab-distro#247

@maggu2810
Copy link
Contributor

Hm, interesting.
I tested the IDE installation two days ago and it worked for me.
See: https://www.eclipse.org/forums/index.php?t=msg&th=1078937&goto=1737544&#msg_1737544

@cdjackson
Copy link
Contributor Author

Maybe it's an issue at my end, but I upgraded my existing IDE, and then did two fresh installs (one for OH2 and one for ESH) and they all do the same thing. It is unusable really as it won't save files without errors and wont set breakpoints.

All the errors seem to be related to SubMonitor issues such as the following.

groovy/groovy-eclipse#172

@maggu2810
Copy link
Contributor

Have you choosen Neon and a Java 8 on your fresh installation?

@maggu2810
Copy link
Contributor

FYI: It makes a difference if you are using Eclipse SmartHome IDE setup or openHAB + ESH.
There are different setup files (instructions for the Installer):

@kaikreuzer
Copy link
Contributor

I have just installed the ESH IDE from scratch and everything works smoothly, so I very much assume it is a local problem with your system, @cdjackson. Try to also start with a clean bundle pool, maybe you have some corrupted jar file in there. Make sure to use Neon, not Mars.

@cdjackson
Copy link
Contributor Author

Strange - this initially started on an existing system when the setup tasks were run but two clean installs have done the same. Do you know if there's a common area where the bundles are stored (on a Mac) that I could/should purge.

Thanks.

@kaikreuzer
Copy link
Contributor

Do you know if there's a common area where the bundles are stored

Yes, the bundle pool that I mentioned above. You choose it on the first page of the installer:

screen shot 2016-07-11 at 09 26 52

@cdjackson
Copy link
Contributor Author

Thanks.

@jspuij
Copy link

jspuij commented Dec 21, 2016

For anyone bumping into this: The default version in the installer on OSX seems to be Mars. Reinstalling (a.t.m.) Oxygen solved the problem. Maybe this should be a bit clearer on this page: http://docs.openhab.org/developers/development/ide.html. Saves a reinstall.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants