[Sakai Jira] Created: (KERN-1241) 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException

8 views
Skip to first unread message

Ian Boston (JIRA)

unread,
Oct 12, 2010, 12:12:33 PM10/12/10
to sakai-...@googlegroups.com
12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Key: KERN-1241
URL: http://jira.sakaiproject.org/browse/KERN-1241
Project: Nakamura
Issue Type: Bug
Components: Content - other
Affects Versions: 0.8
Reporter: Ian Boston
Fix For: 0.9


12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
at org.apache.fontbox.cff.CFFParser.readCharset(CFFParser.java:512)
at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:320)
at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:66)
at org.apache.pdfbox.pdmodel.font.PDType1CFont.load(PDType1CFont.java:302)
at org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:108)
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:124)
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:76)
at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:115)
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:225)
at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:207)
at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:367)
at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:291)
at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:247)
at org.apache.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:180)
at org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:56)
at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:79)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99)
at org.apache.jackrabbit.core.query.lucene.JackrabbitParser.parse(JackrabbitParser.java:189)
at org.apache.jackrabbit.core.query.lucene.LazyTextExtractorField$ParsingTask.run(LazyTextExtractorField.java:174)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


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


Ian Boston (JIRA)

unread,
Oct 12, 2010, 12:51:31 PM10/12/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston reassigned KERN-1241:
--------------------------------

Assignee: Ian Boston

> 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KERN-1241
> URL: http://jira.sakaiproject.org/browse/KERN-1241
> Project: Nakamura
> Issue Type: Bug
> Components: Content - other
> Affects Versions: 0.8
> Reporter: Ian Boston

> Assignee: Ian Boston

Ian Boston (JIRA)

unread,
Oct 12, 2010, 1:07:31 PM10/12/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston updated KERN-1241:
-----------------------------

Priority: Critical (was: Major)

> 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KERN-1241
> URL: http://jira.sakaiproject.org/browse/KERN-1241
> Project: Nakamura
> Issue Type: Bug
> Components: Content - other
> Affects Versions: 0.8
> Reporter: Ian Boston

> Assignee: Ian Boston
> Priority: Critical

Ian Boston (JIRA)

unread,
Oct 15, 2010, 1:23:31 PM10/15/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston resolved KERN-1241.
------------------------------

Resolution: Won't Fix

Wont be able to fix this,
IIRC
PDFBox relies on the OS to have the required fonts deployed. Every now and again a PDF will turn up that it cant index, we will see an exception like this in the logs when this happens. Not a great deal that we can do about it.

> 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KERN-1241
> URL: http://jira.sakaiproject.org/browse/KERN-1241
> Project: Nakamura
> Issue Type: Bug
> Components: Content - other
> Affects Versions: 0.8
> Reporter: Ian Boston

> Assignee: Ian Boston
> Priority: Critical

John Norman (JIRA)

unread,
Oct 15, 2010, 1:45:31 PM10/15/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=111312#action_111312 ]

John Norman commented on KERN-1241:
-----------------------------------

Could we in some imagined future, inform the user that an indexing error occurred and that the file may not be found in search, while queuing the file so an admin could add the missing fonts and reprocess the file. Clearly not something for the near future...

> 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KERN-1241
> URL: http://jira.sakaiproject.org/browse/KERN-1241
> Project: Nakamura
> Issue Type: Bug
> Components: Content - other
> Affects Versions: 0.8
> Reporter: Ian Boston

> Assignee: Ian Boston
> Priority: Critical

Ian Boston (JIRA)

unread,
Oct 15, 2010, 1:55:32 PM10/15/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=111319#action_111319 ]

Ian Boston commented on KERN-1241:
----------------------------------

Thats going to hard as the indexing is performed deep within Jackrabbit, and asynchronously. Jackrabbit would have to know all about Sling, and Nakamura, which it it blissfully unaware of at the moment. It might be nice to have jackrabbit set a flag on content items it fails to index, but we will have to submit a feature request to jackrabbit dev for that.


> 12.10.2010 16:07:25.500 *WARN* [jackrabbit-pool-3] org.apache.pdfbox.pdmodel.font.PDFontFactory Failed to create Type1C font. Falling back to Type1 font java.lang.IllegalArgumentException
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KERN-1241
> URL: http://jira.sakaiproject.org/browse/KERN-1241
> Project: Nakamura
> Issue Type: Bug
> Components: Content - other
> Affects Versions: 0.8
> Reporter: Ian Boston

> Assignee: Ian Boston
> Priority: Critical

Reply all
Reply to author
Forward
0 new messages