-
Notifications
You must be signed in to change notification settings - Fork 24
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
NPE running worksheet #178
Comments
Looking at the code, it has a few ways it can throw a I tried with a non-workspace file, but found a different problem #179. |
Luc, Thanks for looking into this. I could not find anything unusual with this worksheet or product. The worksheet is located in a simple Scala project. The only difference I noticed is that .scala files have a J icon in front of them in the Kepler Eclipse that has the problem, while my older Helios Eclipse has an S icon in front of .scala files. Both worksheets have the proper Eclipse icon in front of them and open in the Scala Script editor properly. In the Kepler preferences the Scala source code type hangs directly under the Java type. I tried to change that, but could not find out how. Uninstalling all Scala IDE components and reinstalling them did not help. Maybe this gives you a hint. Thanks, Markus |
Hmm. It sounds like Scala IDE is not correctly installed. Can you check in the 'Setup Diagnostics' (`Scala > Run Setup Diagnostics' from the Scala perspective), the check box in the first block (JDT Weaving) is set and grayed out? |
That is really interesting. I had run the diagnostics a couple times before, but when I ran it now and tested the spreadsheet again right after, the inline comments got added properly, like in the Helios IDE. I am using a regular Eclipse: Eclipse Standard/SDK with Scala, PHP, and Java development tools added. So I guess for me the issue is fixed now and the NullPointerException does not occur in the log file anymore. |
I tried to reproduce your environment to reproduce the problem, but no luck. When you have some time, it would great if you could create a second install of Eclipse, install the worksheet, and see if it works out-of-the-box. |
(Reported in assembla #1002052)
This line produces an NPE:
The text was updated successfully, but these errors were encountered: