[packman] jgnash not starting on opensuse11.2

Toni toni at links2linux.de
Wed Feb 17 14:39:13 CET 2010


Am Mittwoch, 17. Februar 2010 schrieb:
> Following is the complete output:
> bash$ jgnash.sh
> java virtual machine used: /usr/lib64/jvm/jre/bin/java
> classpath used:
> /usr/share/java/commons-beanutils.jar:/usr/share/java/commons-logging.jar:/
>usr/share/java/commons-collections.jar:/usr/share/java/jcommon.jar:/usr/shar
>e/java/jcommon-xml.jar:/usr/share/java/jfreechart.jar:/usr/share/java/forms.
>jar:/usr/share/java/liquidlnf.jar:/usr/share/java/looks2.jar:/usr/share/java
>/jgnash/jgnash-2.3.3.jar:/usr/share/java/jgnash/lib/jasperreports-3.5.1.jar:
>/usr/share/java/jgnash/lib/swingx-1.6.jar:/usr/share/java/jgnash/lib/db4o-6.
>4.54.11278-java5.jar:/usr/share/java/jgnash/lib/jh.jar:/usr/share/java/jgnas
>h/lib/db4o-6.4.54.11278-nqopt.jar:/usr/share/java/jgnash/lib/jGnashHelp.jar:
>/usr/share/java/jgnash/lib/iText-2.1.4.jar:/usr/share/java/jgnash/lib/jdt-co
>mpiler-3.1.1.jar:/usr/share/java/jgnash/lib/mina-core-1.1.7.jar:/usr/share/j
>ava/jgnash/lib/bloat-1.0.jar:/usr/share/java/jgnash/lib/slf4j-api-1.4.3.jar:
>/usr/share/java/jgnash/lib/xstream-1.3.1.jar:/usr/share/java/jgnash/lib/slf4
>j-jdk14-1.4.3.jar:/usr/share/java/jgnash/lib/args4j-2.0.8.jar:/usr/share/jav
>a/jgnash/lib/DynamicJasper-3.0.10.jar main class used: jgnash.Main
> flags used:
> options used:
> arguments used:
> Enabling text antialiasing!
> java.lang.ArrayIndexOutOfBoundsException: 2
>         at javax.swing.text.CompositeView.getView(CompositeView.java:160)
>         at javax.swing.text.View.forwardUpdate(View.java:1175)
>         at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
>         at javax.swing.text.View.insertUpdate(View.java:702)
>         at
> javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1
>606) at
> javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.j
>ava:1865) at
> javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:20
>2) at
> javax.swing.text.DefaultStyledDocument.insert(DefaultStyledDocument.java:22
>3) at javax.swing.text.html.HTMLDocument.insert(HTMLDocument.java:434) at
> javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java
>:3721) at
> javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2523)
> at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:261) at
> javax.swing.JEditorPane.read(JEditorPane.java:571)
>         at javax.swing.JEditorPane.read(JEditorPane.java:599)
>         at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:662)
>
> I also get the following error sometimes:
> bash$ jgnash.sh
> java virtual machine used: /usr/lib64/jvm/jre/bin/java
> classpath used:
> /usr/share/java/commons-beanutils.jar:/usr/share/java/commons-logging.jar:/
>usr/share/java/commons-collections.jar:/usr/share/java/jcommon.jar:/usr/shar
>e/java/jcommon-xml.jar:/usr/share/java/jfreechart.jar:/usr/share/java/forms.
>jar:/usr/share/java/liquidlnf.jar:/usr/share/java/looks2.jar:/usr/share/java
>/jgnash/jgnash-2.3.3.jar:/usr/share/java/jgnash/lib/jasperreports-3.5.1.jar:
>/usr/share/java/jgnash/lib/swingx-1.6.jar:/usr/share/java/jgnash/lib/db4o-6.
>4.54.11278-java5.jar:/usr/share/java/jgnash/lib/jh.jar:/usr/share/java/jgnas
>h/lib/db4o-6.4.54.11278-nqopt.jar:/usr/share/java/jgnash/lib/jGnashHelp.jar:
>/usr/share/java/jgnash/lib/iText-2.1.4.jar:/usr/share/java/jgnash/lib/jdt-co
>mpiler-3.1.1.jar:/usr/share/java/jgnash/lib/mina-core-1.1.7.jar:/usr/share/j
>ava/jgnash/lib/bloat-1.0.jar:/usr/share/java/jgnash/lib/slf4j-api-1.4.3.jar:
>/usr/share/java/jgnash/lib/xstream-1.3.1.jar:/usr/share/java/jgnash/lib/slf4
>j-jdk14-1.4.3.jar:/usr/share/java/jgnash/lib/args4j-2.0.8.jar:/usr/share/jav
>a/jgnash/lib/DynamicJasper-3.0.10.jar main class used: jgnash.Main
> flags used:
> options used:
> arguments used:
> Enabling text antialiasing!
> java.lang.NullPointerException
>         at javax.swing.text.CompositeView.replace(CompositeView.java:217)
>         at javax.swing.text.BoxView.replace(BoxView.java:181)
>         at
> javax.swing.text.CompositeView.loadChildren(CompositeView.java:114) at
> javax.swing.text.CompositeView.setParent(CompositeView.java:139) at
> javax.swing.text.html.BlockView.setParent(BlockView.java:72) at
> javax.swing.text.CompositeView.replace(CompositeView.java:217) at
> javax.swing.text.BoxView.replace(BoxView.java:181)
>         at
> javax.swing.text.html.TableView$RowView.replace(TableView.java:1474) at
> javax.swing.text.CompositeView.loadChildren(CompositeView.java:114) at
> javax.swing.text.CompositeView.setParent(CompositeView.java:139) at
> javax.swing.text.CompositeView.replace(CompositeView.java:217) at
> javax.swing.text.BoxView.replace(BoxView.java:181)
>         at javax.swing.text.html.TableView.replace(TableView.java:913)
>         at
> javax.swing.text.CompositeView.loadChildren(CompositeView.java:114) at
> javax.swing.text.CompositeView.setParent(CompositeView.java:139) at
> javax.swing.text.html.TableView.setParent(TableView.java:817) at
> javax.swing.text.CompositeView.replace(CompositeView.java:217) at
> javax.swing.text.BoxView.replace(BoxView.java:181)
>         at javax.swing.text.View.updateChildren(View.java:1112)
>         at javax.swing.text.View.insertUpdate(View.java:696)
>         at javax.swing.text.View.forwardUpdateToView(View.java:1203)
>         at javax.swing.text.View.forwardUpdate(View.java:1178)
>         at javax.swing.text.BoxView.forwardUpdate(BoxView.java:240)
>         at javax.swing.text.View.insertUpdate(View.java:702)
>         at
> javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1
>606) at
> javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.j
>ava:1865) at
> javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:20
>2) at
> javax.swing.text.DefaultStyledDocument.insert(DefaultStyledDocument.java:22
>3) at javax.swing.text.html.HTMLDocument.insert(HTMLDocument.java:434) at
> javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java
>:3721) at
> javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2523)
> at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:261) at
> javax.swing.JEditorPane.read(JEditorPane.java:571)
>         at javax.swing.JEditorPane.read(JEditorPane.java:599)
>         at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:662)
>
> And sometimes there is no error. The only output is the above minus the
> Java exception. But no window pops up - it just hangs. In the previous two
> cases the license window pops up.

ok, try jgnash.sh -opengl or use the kde-menu-entry jGnash (using OpenGL)

if this works, fine. If not try to install java-1_6_0-sun, enable it with 
update-alternatives --java (You don't need to deinstall openjdk, they can 
co-exist) and try it again. 

Do you use a special window-manager (beryl) ? If so, you can also try
export AWT_TOOLKIT=MToolkit; jgnash.sh


>
> -Rahul

<snip>
-- 
have fun
Toni




More information about the Packman mailing list