ports/147129: print/cups-base: Printing to cups-network-printer
fails with null-pointer-exception
Dr. A. Haakh
bugReporter at Haakh.de
Wed Jun 16 10:20:05 UTC 2010
The following reply was made to PR ports/147129; it has been noted by GNATS.
From: "Dr. A. Haakh" <bugReporter at Haakh.de>
To: bug-followup at FreeBSD.org
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/147129: print/cups-base: Printing to cups-network-printer
fails with null-pointer-exception
Date: Wed, 16 Jun 2010 12:18:51 +0200
OK! I had IPv6 enabled. So I had add "-Djava.net.preferIPv4Stack=true"
to the command-line. I guess IPv6 is an open issue...
The PR can be closed!
Dr. A. Haakh schrieb:
> Thanks.
>
> Now it works when I run my app from netbeans. If I start it from
> command-line I get neither exception nor printer-dialog.
> Openjdk6 doesn't show the printer-dialog either!
>
> Jonathan Chen schrieb:
>> This is most likely:
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
>>
>> with a workaround described at:
>>
>> http://www.pikopong.com/blog/2008/09/09/java-printing-fix-for-linux-with-cups/
>>
>>
>> Unlikely to be fixed, since we haven't had any update to jdk1.6 for
>> ages. Openjdk6 does not exhibit this problem.
>>
>
More information about the freebsd-java
mailing list