-
Notifications
You must be signed in to change notification settings - Fork 476
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
NullPointerException in JRE 8 Font #46
Comments
I am not sure we would want to change away from the |
I'd like to see a test case to reproduce this. It sounds like the JRE is not running actually in headless mode. |
I was able to reproduce this: https://gist.github.com/md5/7fb07efafee3802da457 It looks like installing |
@md5, what do you suggest? Do you think we should add |
Alternatively, could this be considered a missing dependency on the Debian
package, or is this strictly something users are supposed to be able to
handle from their PoV?
|
I think what @tianon said is correct. This seems to be a missing dependency that should be fixed at the Debian level. I don't have time at the moment to investigate why this may have changed between The problem I see with simply adding One suspicion I have is that something moved from a dependency to a "recommends", resulting in a bunch of packages being dropped. I'm also wondering whether something might have happened during the Jessie backport process to mess up the dependencies. |
As far as I can tell, this is a packaging issue. Here are the depends that get openjdk-7-jre-headless -> libfontconfig1
# it is a direct dependency
openjdk-7-jre -> libfontconfig1
# also has longer paths to require libfontconfig1
openjdk-8-jre-headless -> # no fontconfig
openjdk-8-jre -> libatk-wrapper-java-jni -> libcairo2 -> libfontconfig1
# the shortest path to require it |
I have just filed a bug report with Debian. |
Thanks @joelchen! 👍 |
@tianon @yosifkit What do you guys think of putting in a temporary fix for this, since there doesn't seem to be much movement on the Debian front. I just got an error report for the |
Sounds fine to me. |
@md5 totally throwing that in now unless you beat me to it 😉 |
@tianon I was thinking about creating a PR when I got back from lunch, but there's no need now. Thanks. |
Sorry, I got a little antsy. 😇
|
This Stack Overflow question and answer describes the issue. It only happens in JRE 8 but not in JRE 7.
The text was updated successfully, but these errors were encountered: