Date: Wed, 16 Jun 2010 10:20:04 GMT From: "Dr. A. Haakh" <bugReporter@Haakh.de> To: freebsd-java@FreeBSD.org Subject: Re: ports/147129: print/cups-base: Printing to cups-network-printer fails with null-pointer-exception Message-ID: <201006161020.o5GAK4Ko082984@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/147129; it has been noted by GNATS. From: "Dr. A. Haakh" <bugReporter@Haakh.de> To: bug-followup@FreeBSD.org Cc: bug-followup@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. >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006161020.o5GAK4Ko082984>