From owner-freebsd-java@FreeBSD.ORG Wed Jun 16 10:20:05 2010 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27652106567B for ; Wed, 16 Jun 2010 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 158388FC12 for ; Wed, 16 Jun 2010 10:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5GAK4Xe082985 for ; Wed, 16 Jun 2010 10:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5GAK4Ko082984; Wed, 16 Jun 2010 10:20:04 GMT (envelope-from gnats) Date: Wed, 16 Jun 2010 10:20:04 GMT Message-Id: <201006161020.o5GAK4Ko082984@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: "Dr. A. Haakh" Cc: Subject: Re: ports/147129: print/cups-base: Printing to cups-network-printer fails with null-pointer-exception X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Dr. A. Haakh" List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2010 10:20:05 -0000 The following reply was made to PR ports/147129; it has been noted by GNATS. From: "Dr. A. Haakh" 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. >> >