java.lang.NullPointerException

clown | roykaushik | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.pdfclown.documents.contents.fonts.SimpleFont.loadEncoding()
  2. org.pdfclown.documents
    ContentScanner.getCurrentWrapper
    1. org.pdfclown.documents.contents.fonts.SimpleFont.loadEncoding(SimpleFont.java:151)
    2. org.pdfclown.documents.contents.fonts.SimpleFont.onLoad(SimpleFont.java:171)
    3. org.pdfclown.documents.contents.fonts.Font.load(Font.java:877)
    4. org.pdfclown.documents.contents.fonts.Font.<init>(Font.java:367)
    5. org.pdfclown.documents.contents.fonts.SimpleFont.<init>(SimpleFont.java:66)
    6. org.pdfclown.documents.contents.fonts.TrueTypeFont.<init>(TrueTypeFont.java:47)
    7. org.pdfclown.documents.contents.fonts.Font.wrap(Font.java:261)
    8. org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:72)
    9. org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:40)
    10. org.pdfclown.documents.contents.ResourceItems.get(ResourceItems.java:119)
    11. org.pdfclown.documents.contents.objects.SetFont.getResource(SetFont.java:119)
    12. org.pdfclown.documents.contents.objects.SetFont.getFont(SetFont.java:83)
    13. org.pdfclown.documents.contents.objects.SetFont.scan(SetFont.java:97)
    14. org.pdfclown.documents.contents.ContentScanner.moveNext(ContentScanner.java:1360)
    15. org.pdfclown.documents.contents.ContentScanner$TextWrapper.extract(ContentScanner.java:819)
    16. org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:771)
    17. org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:759)
    18. org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.get(ContentScanner.java:684)
    19. org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.access$500(ContentScanner.java:673)
    20. org.pdfclown.documents.contents.ContentScanner.getCurrentWrapper(ContentScanner.java:1184)
    20 frames
  3. org.pdfclown.tools
    TextExtractor.extract
    1. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:636)
    2. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    3. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    4. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    5. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:645)
    6. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    7. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    8. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    9. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    10. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    11. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    12. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:653)
    13. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:299)
    13 frames