harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3000) [awt] java djvu viewer throws NPE on opening document
Date Sat, 13 Jan 2007 14:51:27 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko updated HARMONY-3000:
-------------------------------------

    Summary: [awt] java djvu viewer throws NPE on opening document  (was: [awt] javadjvu0_8_09
viewer NPE on opening document)

> [awt] java djvu viewer throws NPE on opening document
> -----------------------------------------------------
>
>                 Key: HARMONY-3000
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3000
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Alexey Petrenko
>
> javadjvu0_8_09 [1] throws the following exception on opening any djvu document [2]
> java.lang.NullPointerException
> 	at org.apache.harmony.awt.gl.font.FontMetricsImpl.getFontPeer(FontMetricsImpl.java:241)
> 	at org.apache.harmony.awt.gl.font.FontMetricsImpl.<init>(FontMetricsImpl.java:72)
> 	at org.apache.harmony.awt.gl.CommonGraphics2DFactory.getFontMetrics(CommonGraphics2DFactory.java:57)
> 	at java.awt.ToolkitImpl.getFontMetrics(ToolkitImpl.java:136)
> 	at java.awt.Component.getFontMetrics(Component.java:1863)
> 	at com.lizardtech.djvubean.outline.Outline.getFontWidth(Unknown Source)
> 	at com.lizardtech.djvubean.outline.Outline.getTextBounds(Unknown Source)
> 	at com.lizardtech.djvubean.outline.Outline.getMaximumSize(Unknown Source)
> 	at com.lizardtech.djvubean.outline.Outline.getMinimumSize(Unknown Source)
> 	at com.lizardtech.djvubean.outline.OutlineScrollPane.getMinimumSize(Unknown Source)
> 	at java.awt.BorderLayout.validateArrays(BorderLayout.java:438)
> 	at java.awt.BorderLayout.validate(BorderLayout.java:397)
> 	at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:273)
> 	at java.awt.Container.getDefaultMinimumSize(Container.java:749)
> 	at java.awt.Component.minimumSize(Component.java:3276)
> 	at java.awt.Container.minimumSize(Container.java:737)
> 	at java.awt.Container.getMinimumSize(Container.java:722)
> 	at java.awt.BorderLayout.validateArrays(BorderLayout.java:438)
> 	at java.awt.BorderLayout.validate(BorderLayout.java:397)
> 	at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:273)
> 	at java.awt.Container.getDefaultMinimumSize(Container.java:749)
> 	at java.awt.Component.minimumSize(Component.java:3276)
> 	at java.awt.Container.minimumSize(Container.java:737)
> 	at java.awt.Container.getMinimumSize(Container.java:722)
> 	at java.awt.BorderLayout.validateArrays(BorderLayout.java:438)
> 	at java.awt.BorderLayout.validate(BorderLayout.java:397)
> 	at java.awt.BorderLayout.layoutContainer(BorderLayout.java:36)
> 	at java.awt.Container.layout(Container.java:887)
> 	at java.awt.Container.doLayout(Container.java:528)
> 	at java.awt.Container.validate(Container.java:1164)
> 	at java.awt.Component.show(Component.java:393)
> 	at java.awt.Window.show(Window.java:542)
> 	at java.awt.Component.show(Component.java:318)
> 	at java.awt.Component.setVisible(Component.java:381)
> 	at com.lizardtech.djview.frame.Frame.run(Unknown Source)
> 	at com.lizardtech.djview.frame.Frame.main(Unknown Source)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:258)
> 	at com.lizardtech.djview.Applet.main(Unknown Source)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:258)
> 	at com.ibm.oti.vm.JarRunner.main(JarRunner.java:42)
> [1] http://javadjvu.foxtrottechnologies.com/
> [2] You can use this one for test: http://www.djvuzone.org/support/results.djvu

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message