From owner-freebsd-questions@FreeBSD.ORG Wed Jul 22 19:03:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A28FF106564A for ; Wed, 22 Jul 2009 19:03:13 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED748FC1D for ; Wed, 22 Jul 2009 19:03:13 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 4D98828410; Thu, 23 Jul 2009 07:03:11 +1200 (NZST) Date: Thu, 23 Jul 2009 07:03:11 +1200 From: Jonathan Chen To: Matthias Apitz Message-ID: <20090722190311.GA9558@osiris.chen.org.nz> References: <20090722081235.GA2056@current.Sisis.de> <20090722112636.GA8714@zafiro.therandymon.com> <1248263660.20297.19.camel@main.lerwick.hopto.org> <20090722150741.GA5439@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090722150741.GA5439@current.Sisis.de> User-Agent: Mutt/1.4.2.3i Cc: Craig Butler , Randall Wood , freebsd-questions@freebsd.org Subject: Re: MS Project file viewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 19:03:13 -0000 On Wed, Jul 22, 2009 at 05:07:41PM +0200, Matthias Apitz wrote: > El d?a Wednesday, July 22, 2009 a las 12:54:20PM +0100, Craig Butler escribi?: > > > openproj work great for me and is available in ports. > > Thanks for the hint; I've installed it and it works; but on printing it > crashes with te messages below on stderr; any idea? > > matthias > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: > null attribute > at > sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) > at > sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121) > at > sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263) > at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) > at > sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) > at sun.print.ServiceDialog.(ServiceDialog.java:124) > at javax.print.ServiceUI.printDialog(ServiceUI.java:188) > at > sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855) > at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) > at com.projity.print.GraphPageable.print(Unknown Source) > at com.projity.pm.graphic.frames.GraphicManager.print(Unknown > Source) > at This is a Java & CUPS interaction bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656 Workaround available at: http://www.pikopong.com/blog/2008/09/09/java-printing-fix-for-linux-with-cups/ Hope this helps. -- Jonathan Chen ---------------------------------------------------------------------- When you don't know what you are doing, do it neatly.