Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 07:03:11 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Craig Butler <craig001@lerwick.hopto.org>, Randall Wood <zafiro17@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: MS Project file viewer
Message-ID:  <20090722190311.GA9558@osiris.chen.org.nz>
In-Reply-To: <20090722150741.GA5439@current.Sisis.de>
References:  <20090722081235.GA2056@current.Sisis.de> <20090722112636.GA8714@zafiro.therandymon.com> <1248263660.20297.19.camel@main.lerwick.hopto.org> <20090722150741.GA5439@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.<init>(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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                 When you don't know what you are doing, do it neatly.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090722190311.GA9558>