ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Yereschenko <ave@zetetika.com.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Печать в Java-приложениях (iBank)
Date: Wed, 22 Oct 2008 15:24:58 +0300
Message-ID: <200810221524.58202.ave@zetetika.com.ua> (raw)
In-Reply-To: <m3bpxe0y0a.fsf@blard.localdomain>

Доброе!
В сообщении от 21 октября 2008 Michael Pozhidaev написал(a):
> >> Имеем ALD 4.1 и java-приложение iBank (клиент-банк)
> >> При нажатии в приложении кнопочки "Печать" выскакивает java-окошко с
> >> ошибкой "null attribute". Под оффтопиком iBank при этом печатает на
> >> принтер по-умолчанию. Что и где сказать надо у нас, чтобы печать из java
> >> заработала?
>
> Ещё мысль: если приложение запустить в терминале, там никаких сообщений не
> падает? 

Еще как падает. :)
Вот что выдается в консоли при нажатии кнопки печать (когда вылезает окно с 
ошибкой "null attribute")
форматирование чуть поехало - каждая новая строка начиналась с "at"

=======================
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:856)
        at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:417)
        at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:786)
        at sun.print.PrintJob2D.printDialog(PrintJob2D.java:416)
        at sun.awt.X11.XToolkit.getPrintJob(XToolkit.java:937)
        at com.bifit.harver.core.DocumentBrowser.print(Unknown Source)
        at com.bifit.harver.core.DocumentBrowser.print(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.bifit.lisp.i.if(Unknown Source)
        at com.bifit.lisp.i.a(Unknown Source)
        at com.bifit.lisp.u.getValue(Unknown Source)
        at com.bifit.lisp.s$a.a(Unknown Source)
        at com.bifit.lisp.u.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.c.a(Unknown Source)
        at com.bifit.lisp.c.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.aa.a(Unknown Source)
        at com.bifit.lisp.aa.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.c.a(Unknown Source)
        at com.bifit.lisp.c.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.aa.a(Unknown Source)
        at com.bifit.lisp.aa.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.c.a(Unknown Source)
        at com.bifit.lisp.c.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.aa.a(Unknown Source)
        at com.bifit.lisp.aa.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.a(Unknown Source)
        at com.bifit.lisp.Interpreter.interpret(Unknown Source)
        at com.bifit.lisp.h.a(Unknown Source)
        at com.bifit.lisp.u.getValue(Unknown Source)
        at com.bifit.lisp.Interpreter.evaluateCall(Unknown Source)
        at com.bifit.lisp.Interpreter.evalFunction(Unknown Source)
        at com.bifit.harver.comps.CustomDialog.execLispFunc(Unknown Source)
        at com.bifit.harver.comps.CustomDialog.processEvent(Unknown Source)
        at com.bifit.awtx.event.EventHandler.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
=================



--
Alexander


  reply	other threads:[~2008-10-22 12:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 13:28 Alexander Yereschenko
2008-10-21 15:21 ` Michael Pozhidaev
2008-10-21 15:27   ` Michael Pozhidaev
2008-10-22 12:24     ` Alexander Yereschenko [this message]
2008-10-22 12:38       ` Michael Pozhidaev
2008-10-22 13:39         ` Alexander Yereschenko
2008-10-22 15:01           ` [Comm] Печать в Java-приложениях (2viy@ посмотрите сюда, пжста) Michael Pozhidaev
2008-10-22 15:30             ` Igor Vlasenko
2008-10-22 15:36               ` Igor Vlasenko
2008-10-22 16:53               ` [Comm] Печать в Java-приложениях Michael Pozhidaev
2008-10-23  8:31                 ` Alexander Yereschenko
2008-10-23  9:10                   ` Michael Pozhidaev
2008-10-23  9:46                 ` Alexander Yereschenko
2008-10-24 18:45                     ` Igor Vlasenko
2008-10-24 19:22                       ` Alexander Yereschenko
2008-10-28 15:24                         ` Alexander Yereschenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810221524.58202.ave@zetetika.com.ua \
    --to=ave@zetetika.com.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git