This is quite an annoying bug that was - supposed to be - fixed already ( I did some research), but the problem persists on my mac.
I have a simple javaFX application with a button that when clicked on should print hello world. The button itself has some text in it. However, when the application runs, it gives this error:
Caused by: java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:99)
(full exception here: http://pastebin.com/YdAgMfPs)
How could this be solved? Mac is on most recent version ( OS X el capitan) and java aswell. I'm using netbeans IDE, but can be reproduced on other IDE's aswell, so I think the problem lies with my machine
I've found a solution to this problem. I opened the font book app and restored standard fonts. That did the trick.
Source : https://bugs.openjdk.java.net/browse/JDK-8089900
I had the same problem (OSX 10.11.6) when using the mvn speedment:tool, which also makes use of JavaFX. Restoring standard fonts made the NPE go away. I later installed latest version (2.37) of DejaVuSansMono.ttf which I use in my Terminal, and the problem did not come back.
Related
I get the following errors in Xcode 7 when opening my OS X app:
Unable to determine compiler to use - the abstract compiler specification is missing from this Xcode installation.
and
Unexpected tool settings, missing default value for VFS output path
I've tried rebooting as this post suggests, but to no avail.
I'm running OS X 10.10.4
EDIT Here is a screenshot:
Very lucky.
And I got this error this morning.
Everything worked fine until yesterday and I didn´t change any settings. Just GUI changes. I switched between Yosemite an ELCap and the error occurs on both systems.
I had same problem when Xcode location was in /Application/Subfolder/Xcode.app
After moving to /Application problem is gone.
After updating OSX and Xcode to latest versions (10.8.4 | 4.6.3) projects with cocos2d 2.0 works fine but...
When I tryed update cocos2d to 2.1 new projects want not build. Xcode just closes with error.
Full error description here: https://docs.google.com/document/d/1JhqD3CW2JRKEXZquQIYN4grVG3siDL4jqcFByhGDgGM
After this error projects with c2d 2.0 that works before starts crashes too.
Back cocos to v2.0 does not give any profit.
Problem resolved.
I use RealVNC server on my home mac and client on win7 PC at work.
Xcode crashes when I try build/run using shortcuts (command+R, command+B, sometimes command+z)
When I do this using menu, it works fine.
Weird, why this starts after cocos2d 2.1 installed...
So, I think, problem with OSX 10.8.4 + RealVNC.
Weird weird weird...
Directly Mac works fine.
P.S. I hope this will be helpful for another internet pilgrims.
Im using Xcode 4.4 on Mountain Lion OS X 10.8, to archive an iOS app however I keep receiving this error:
(null): There is no codesign_wrapper executable. Please reinstall the Xcode developer tools. (-19058)
Has anyone come across this problem or know how to solve it?
Thanks, Sami.
Do you need to install the command line tools via xcode?
they are located in the Preferences window's Downloads section and the Components tab.
In case anyone else comes across this as well...I was having trouble with this for hours while trying to submit the application with the Application Loader. Perhaps its a slightly different issue, since your getting this error while trying Archive, but for what its worthere this is/was my situation
. Using the "latest" Xcode 5.0.1 (past what I saw other threads saying - using 4.0.x), eventually installing Xcode 5.1 when released with the same error/issue. After upgrading, I believe I was still receiving the issue because I was still using the same (2.9) Application Loader from the first (5.0.1) Xcode. When I explicitly opened the new (2.9.1) Application Loader from (5.1) Xcode via Xcode --> Open Developer Tool --> Application Loader, the submittion process went futher. However failed for me for a different issue.
So it goes.
i'm developing iPhone apps. Yesterday i updated leopard to snow leopard. Alongside i made the jump from XCode 3.1.4 to 3.2.4
I was always quite happy with XCode - working most of the time under windows, I really appreciate how well the XCode toolchain works together.
however - i'm not happy with 3.2.4 at all. i experience a lot of flaws, mainly with debugging. When an error arises, the debugger often stops at another place than the actual error happened. Sometimes the debugger does not trap into breakpoints at all and i get after some time a Error from Debugger: mi_cmd_stack_list_frames: Not enough frames in stack - whatever that means. And also I get invisible breakpoints which i can't remove anymore.
Does anyone experience similar things with XCode 3.2.4? if so, which is the newest release that works well?
Thanks!
Usually the problem is to do with level of debug symbols or some compiler optimization (which shouldn't be applied in debug builds). Maybe the information here will help.
Also try a complete clean (delete the build folder, remove the app from the device/simulator) & rebuild. Ensure you're working with the Debug configuration.
I'm just starting out with GWT but I can't even run the getting started example without getting the following error:
Invalid memory access of location 0x10 eip=0x93624148
I am aware of the "java hosted mode 32 bit" stuff, anyway I tried every combination I could think of and still could not get away with that error.
I tried:
Using the eclipse plugin
Setting all possible jvm switches in eclipse to 1.5
Use the command line tool
Set the java environment to java 5 32 bit in the preference pane, and do all of the previous options again, without success (I checked that effectively "java -version" gives me the right 32 bit jvm)
Any suggestion? I can't believe that something which should be apparently immediate is so difficult ...
Thanks for your help
Best regards
Nicola Montecchio
Seems to be fixed in GWT 2.0.
Alternatively, try using the WebKit Nightly.
Steps here:
http://grack.com/blog/2009/11/16/fix-for-gwt-hosted-mode-crash-with-safari-4-0-4/
See release notes for latest SDK 1.7.1.
You might need to switch to Snow Leopard to get it working.
Update: GWT 2.0 is just out today. Give it a go, even thought I've not seen anything related to Leopard in the change list.
I used gwt a lot on my mac with OS X 10.5 on. It actually worked fine. Have you also set the java class version in the projects facets menu in the project preferences to java 5?
You can also provide which java to use in the launch configuration, you don't need to modify in the Mac OSX preference pane.
I actually upgraded to 10.6 when it came out, and it made life with GW easier.
Hope it helped, if you have any more questions let me know.
Best - István