[26832] in Athena Bugs
Re: linux 9.4.26: matlab
daemon@ATHENA.MIT.EDU (Alex T Prengel)
Tue Apr 25 13:58:28 2006
Message-Id: <200604251756.k3PHub8o000237@dit.mit.edu>
To: kchen@mit.edu
In-reply-to: [26831] in Athena Bugs"
Date: Tue, 25 Apr 2006 13:56:37 -0400
From: Alex T Prengel <alexp@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: alexp@mit.edu, bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
Hi Kevin,
You report:
>What were you trying to do?
>Access the Print Setup and Print Preview functions of Matlab.
>
>What's wrong:
>Steps to reproduce:
>1. Start Matlab
>2. Type, without quotes, "figure(1)" to get a figure window.
>3. Click File->Print Setup.
>
>At this point, the Matlab window displays:
>
>>> java.lang.IllegalArgumentException: services must be non-null and non-empty
> at javax.print.ServiceUI.printDialog(Unknown Source)
> at com.mathworks.page.export.printdlg.Printdlg.setVisible(Printdlg.java:435)
>
>The Print Setup window does not open.
>
>4. Click File->Print Preview
>
>At this point, Matlab prints a bunch of debugging info and segfaults.
If the PRINTER variable is unset in the launch shell, I can reproduce
the first problem but not the second. Can you try setting this to a
valid printer and let me know if that makes both problems go away?
I'll report it to the Mathworks but I have a feeling they'll say
"set PRINTER"...
Alex