java.lang.ExceptionInInitializerError

Exception #2510634

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • via Unknown by nikhil500,
  • via Stack Overflow by Bhargav Krishna
    ,
  • Stack trace

    • java.lang.ExceptionInInitializerError at org.icepdf.core.util.Parser.getObject(Parser.java:315) at org.icepdf.core.util.LazyObjectLoader.loadTrailer(LazyObjectLoader.java:134) at org.icepdf.core.util.Library.getTrailerByFilePosition(Library.java:105) at org.icepdf.core.pobjects.PTrailer.loadXRefStmIfApplicable(PTrailer.java:315) at org.icepdf.core.pobjects.CrossReference.getEntryForObject(CrossReference.java:197) at org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:68) at org.icepdf.core.util.Library.getObject(Library.java:120) at org.icepdf.core.util.Library.getObject(Library.java:172) at org.icepdf.core.pobjects.Catalog.init(Catalog.java:96) at org.icepdf.core.pobjects.Document.setInputStream(Document.java:454) at org.icepdf.core.pobjects.Document.setFile(Document.java:210) Caused by: java.awt.HeadlessException at sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:64) at org.icepdf.core.pobjects.Stream.<init>(Stream.java:81) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.