pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buzzy Spain <bsp...@heartflow.com>
Subject logging error
Date Wed, 03 Apr 2013 22:43:48 GMT
Hi all,

I am running into the error below when attempting to load a pdf document in
a unit test that I am writing.  Running similar code inside the same host's
tomcat deployment seems to work just fine.  If anyone can point me in the
right direction I would appreciate the help.

Thanks,
Buzzy


     [java] Exception in thread "main" java.lang.ExceptionInInitializerError
     [java] at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:223)
     [java] at org.slf4j.LoggerFactory.bind(LoggerFactory.java:120)
     [java] at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
     [java] at
org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:269)
     [java] at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
     [java] at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
     [java] at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
     [java] at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     [java] at
org.apache.pdfbox.pdfparser.BaseParser.<clinit>(BaseParser.java:65)
     [java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1186)
     [java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1154)
     [java] at
org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1125)
     ... <my code>...
     [java] Caused by: java.lang.UnsupportedOperationException: This code
should have never made it into the jar
     [java] at
org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:67)
     [java] at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48)
     [java] ... 15 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message