You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Michael Kraus <mi...@informatik.uni-muenchen.de> on 2000/07/07 18:03:45 UTC

Trouble running FOP

Can anybody help me? I installed FOP (version 0.13.0), and everytime
when I want to start it, I get the following exception:

C:\Programme\fop-0_13_0\docs\examples\fo>java
org.apache.fop.apps.AWTCommandLine normal.fo
FOP 0.12.2 [dev]
Exception in thread "main" java.lang.NullPointerException
        at
org.apache.fop.viewer.PreviewDialog.showPage(PreviewDialog.java:347)
        at
org.apache.fop.viewer.PreviewDialog.setScale(PreviewDialog.java:322)
        at
org.apache.fop.viewer.PreviewDialog.scale_actionPerformed(PreviewDialog.java:326)
        at
org.apache.fop.viewer.PreviewDialog$7.actionPerformed(PreviewDialog.java:96)
        at javax.swing.JComboBox.fireActionEvent(Compiled Code)
        at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:660)
        at javax.swing.JComboBox.contentsChanged(Compiled Code)
        at javax.swing.AbstractListModel.fireContentsChanged(Compiled
Code)
        at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:369)
        at
org.apache.fop.viewer.PreviewDialog.<init>(PreviewDialog.java:100)
        at
org.apache.fop.apps.AWTCommandLine.createPreviewDialog(AWTCommandLine.java:139)
        at
org.apache.fop.apps.AWTCommandLine.<init>(AWTCommandLine.java:65)
        at
org.apache.fop.apps.AWTCommandLine.main(AWTCommandLine.java:220)

I tried it on Windows 95 and linux, but it's alway the same.

Michael