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?
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.