Modify

Opened 10 years ago

Closed 10 years ago

#12176 closed defect (duplicate)

Error in plugin PDFImport : unable to read PDF file

Reported by: gael.simon@… Owned by: team
Priority: normal Milestone:
Component: Plugin pdfimport Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Launch PDFImport plugin with menu "Imagerie/Importer le ficher PDF"
  2. Choose file clicking "Chargement du fichier"
  3. Press OK in selection window

What is the expected result?

Viewing the PDF file in JOSM

What happens instead?

Error Message : Une exception inattendue pouvant provenir du greffon 'pdfimport' est survenue. D’après les informations du greffon, l’auteur est extropy. Essayez de mettre à jour le greffon vers une version plus récente avant de rapporter l’erreur.

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 fr) Windows 7 32-Bit
Memory Usage: 103 MB / 989 MB (33 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) Client VM

Plugins:
- PicLayer (31772)
- apache-commons (31772)
- pdfimport (31772)
- reverter (31772)
- tag2link (31603)
- utilsplugin2 (31772)

Last errors/warnings:
- W: java.io.IOException: Impossible de lire depuis 'https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways/code&zip=1'. Le serveur a répondu avec le code 404.
- E: java.io.IOException: No file found for: https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways/code&zip=1
- E: https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways/code&zip=1
- E: java.lang.NoClassDefFoundError: org/apache/fontbox/afm/AFMParser. Cause : java.lang.ClassNotFoundException: org.apache.fontbox.afm.AFMParser

java.lang.NoClassDefFoundError: org/apache/fontbox/afm/AFMParser
	at org.apache.pdfbox.pdmodel.font.PDFont.addAdobeFontMetric(PDFont.java:165)
	at org.apache.pdfbox.pdmodel.font.PDFont.addAdobeFontMetric(PDFont.java:152)
	at org.apache.pdfbox.pdmodel.font.PDFont.getAdobeFontMetrics(PDFont.java:122)
	at org.apache.pdfbox.pdmodel.font.PDFont.<clinit>(PDFont.java:114)
	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:100)
	at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:213)
	at org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:607)
	at org.apache.pdfbox.util.operator.SetTextFont.process(SetTextFont.java:59)
	at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:557)
	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)
	at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)
	at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)
	at pdfimport.pdfbox.PageDrawer.drawPage(PageDrawer.java:87)
	at pdfimport.pdfbox.PdfBoxParser.parse(PdfBoxParser.java:50)
	at pdfimport.LoadPdfDialog.loadPDF(LoadPdfDialog.java:861)
	at pdfimport.LoadPdfDialog.access$1300(LoadPdfDialog.java:65)
	at pdfimport.LoadPdfDialog$11.run(LoadPdfDialog.java:563)
	at pdfimport.LoadPdfDialog$19.run(LoadPdfDialog.java:789)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.fontbox.afm.AFMParser
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 19 more

Attachments (1)

LYD Etage 0.pdf (1.1 MB ) - added by gael.simon@… 10 years ago.
Fichier PDF à intégrer

Download all attachments as: .zip

Change History (2)

by gael.simon@…, 10 years ago

Attachment: LYD Etage 0.pdf added

Fichier PDF à intégrer

comment:1 by anonymous, 10 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #12046.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.