Hi Tony,

On 19.02.2017 at 03:25, tony mancill wrote:
> As a work-around, would you mind trying to following to see if it
> resolves the problem for you?
> 
> Change the value in the <LAF> element ~/.pdfsam/config.xml to '1':
> 
> ...
>   <settings> 
>     <lookAndfeel> 
>       <LAF>1</LAF>
>            ^
>            |
> ...  

This works for me, thanks! But using '0' is even better, as with '1' some text 
in
the 'split' panel gets cut - see attached screenshots.

But with '0' I get every-now-and-then

philip@debian:~$ pdfsam
[warning] /usr/bin/pdfsam: No java runtime was found
=========================================================================

 pdfsam

  JAVA: java

  JAVA_OPTS: -Xmx256m

  CLASSPATH:
/usr/share/pdfsam/pdfsam-1.1.4.jar:/usr/share/pdfsam/lib/dom4j.jar:/usr/share/pdfsam/lib/emp4j-1.0.1.jar:/usr/share/pdfsam/lib/itext.jar:/usr/share/pdfsam/lib/jaxen.jar:/usr/share/pdfsam/lib/log4j-1.2.jar:/usr/share/pdfsam/lib/looks.jar:/usr/share/pdfsam/lib/pdfsam-console-2.0.6e.jar:/usr/share/pdfsam/lib/pdfsam-jcmdline-1.0.3.jar:/usr/share/pdfsam/lib/pdfsam-langpack.jar

=========================================================================

17:57:39,652 INFO  JMainFrame  Starting PDF Split and Merge basic Ver. 1.1.4
17:57:39,690 INFO  Configuration  Loading configuration..
17:57:39,724 INFO  Configuration  Getting language...
17:57:39,762 INFO  Configuration  Setting look and feel...
17:57:39,775 INFO  Configuration  Setting logging level...
17:57:39,786 INFO  Configuration  Logging level set to DEBUG
17:57:39,910 INFO  PlugInsLoader  Merge/Extract plugin loaded.
17:57:39,952 INFO  PlugInsLoader  Split plugin loaded.
17:57:40,129 INFO  JMainFrame  PDF Split and Merge basic Ver. 1.1.4 started in 
474ms
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
        at javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:563)
        at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:477)
        at javax.swing.text.FlowView.layout(FlowView.java:201)
        at javax.swing.text.BoxView.setSize(BoxView.java:397)
        at javax.swing.text.BoxView.updateChildSizes(BoxView.java:366)
        at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:348)
        at javax.swing.text.BoxView.layout(BoxView.java:708)
        at javax.swing.text.BoxView.setSize(BoxView.java:397)
        at 
javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1722)
        at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1046)
        at javax.swing.text.DefaultCaret.repaintNewCaret(DefaultCaret.java:1308)
        at javax.swing.text.DefaultCaret$1.run(DefaultCaret.java:1287)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at 
org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700)
        at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

but pdfsam works nonetheless.


Best,
Philip

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to