[jira] [Updated] (PDFBOX-1372) NullPointerException with loadDescriptorDictionary

2014-10-23 Thread JIRA

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

Andreas Lehmkühler updated PDFBOX-1372:
---
Affects Version/s: 2.0.0

 NullPointerException with loadDescriptorDictionary
 --

 Key: PDFBOX-1372
 URL: https://issues.apache.org/jira/browse/PDFBOX-1372
 Project: PDFBox
  Issue Type: Bug
  Components: PDModel
Affects Versions: 1.6.0, 2.0.0
 Environment: Windows 7, WebLogic 10.3.2, jdk160_14_R27.6.5-32.
Reporter: wentao
 Attachments: CODE128.TTF, FRE3OF9X.TTF, index128.jsp


 I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and 
 tried to use this with pdfbox 1.6.0 in my jsp.
 it returns below error
 java.lang.NullPointerException
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:339)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PDFBOX-1372) NullPointerException with loadDescriptorDictionary

2014-10-23 Thread John Hewson (JIRA)

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

John Hewson updated PDFBOX-1372:

Fix Version/s: 2.0.0

 NullPointerException with loadDescriptorDictionary
 --

 Key: PDFBOX-1372
 URL: https://issues.apache.org/jira/browse/PDFBOX-1372
 Project: PDFBox
  Issue Type: Bug
  Components: PDModel
Affects Versions: 1.6.0, 2.0.0
 Environment: Windows 7, WebLogic 10.3.2, jdk160_14_R27.6.5-32.
Reporter: wentao
Assignee: John Hewson
 Fix For: 2.0.0

 Attachments: CODE128.TTF, FRE3OF9X.TTF, index128.jsp


 I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and 
 tried to use this with pdfbox 1.6.0 in my jsp.
 it returns below error
 java.lang.NullPointerException
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:339)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PDFBOX-1372) NullPointerException with loadDescriptorDictionary

2012-08-01 Thread wentao (JIRA)

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

wentao updated PDFBOX-1372:
---

  Description: 
I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and tried 
to use this with pdfbox 1.6.0 in my jsp.

it returns below error

java.lang.NullPointerException
at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:339)
at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)




  was:
I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and tried 
to use this with pdfbox 1.7.1 in my jsp.

it returns below error

Aug 1, 2012 11:08:50 AM PDT Error HTTP BEA-101020 [ServletContext@69818
19[app:myPDFBoxWeb module:myPDFBoxWeb path:/myPDFBoxWeb spec-version:2.5]] Servl
et failed with Exception
java.lang.NullPointerException
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionar
y(PDTrueTypeFont.java:403)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.
java:198)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.
java:174)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.
java:155)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.
java:142)
Truncated. see log file for complete stacktrace


Affects Version/s: (was: 1.7.1)
   1.6.0

I tried with 1.7.1, but 1.7.1 can't load both of the two TTF files.

 NullPointerException with loadDescriptorDictionary
 --

 Key: PDFBOX-1372
 URL: https://issues.apache.org/jira/browse/PDFBOX-1372
 Project: PDFBox
  Issue Type: Bug
  Components: PDModel
Affects Versions: 1.6.0
 Environment: Windows 7, WebLogic 10.3.2, jdk160_14_R27.6.5-32.
Reporter: wentao
 Attachments: CODE128.TTF, FRE3OF9X.TTF, index128.jsp


 I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and 
 tried to use this with pdfbox 1.6.0 in my jsp.
 it returns below error
 java.lang.NullPointerException
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:339)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
   at 
 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)

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