I installed Java 8 on my Ubuntu 12.10 x64 machine and it worked fine about a week ago. However, recently I can't run anything that even imports JavaFX namespaces, because I always get this error:
Caused by: java.lang.NullPointerException
at java.security.AccessController.doPrivileged(Native Method)
Was there an update recently that might have caused this, or something else?
Honestly there are a lot of errors going around with builds and 8. I personalyl had issues with 81-83, where 84 now fixed the issue.
It's weird that you are having an issue with a beta build THAT WORKED initially, and now doesn't.
The Java 8 beta builds are not edited, so no it's not that.
Imo I would uninstall and reinstall Java 8.
Also I would check your path to JDK 8, as sometimes you might be looking at Java 7 and 8 at the same time, or might not be looking at 8 at all.
Yeah I've tried completely uninstalling but I get the same error after reinstalling. I am on build 84, but I'm not sure if I was last week. It definitely worked when I used it then; I was able to fire up a window with various controls on it. I don't really understand what the stylesheet stuff is about...I am not doing anything related to CSS in my code.
$ java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b84)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b25, mixed mode)
I figured out the problem -- I was, as I suspected, using an older build last week. Since I installed Java 8 via the webupd8 repository , my system was automatically updated when they pushed build 84 out. I found their previous version, build 78, as a .deb file , and installed it manually. I am now back on build 78 and things are working fine. Hopefully this issue will be fixed in a later build soon, so I can go back to the latest version available.
I'm still not too sure why there are builds on Netbeans 7.3, when they have Lambda8 working (Or is it for lambda8 since the installer is different from the one I have).
It seems that these nightly builds have been causing issues for people... Not too sure why there are 2 sets of beta builds running :(.