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.TrueTypeFont.loadEncoding()
  2. org.pdfclown.documents
    ContentScanner.getCurrentWrapper
    1. org.pdfclown.documents.contents.fonts.TrueTypeFont.loadEncoding(TrueTypeFont.java:214)
    2. org.pdfclown.documents.contents.fonts.SimpleFont.onLoad(SimpleFont.java:118)
    3. org.pdfclown.documents.contents.fonts.Font.load(Font.java:738)
    4. org.pdfclown.documents.contents.fonts.Font.<init>(Font.java:351)
    5. org.pdfclown.documents.contents.fonts.SimpleFont.<init>(SimpleFont.java:62)
    6. org.pdfclown.documents.contents.fonts.TrueTypeFont.<init>(TrueTypeFont.java:68)
    7. org.pdfclown.documents.contents.fonts.Font.wrap(Font.java:253)
    8. org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:72)
    9. org.pdfclown.documents.contents.FontResources.wrap(FontResources.java:1)
    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:1330)
    15. org.pdfclown.documents.contents.ContentScanner$TextWrapper.extract(ContentScanner.java:811)
    16. org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:777)
    17. org.pdfclown.documents.contents.ContentScanner$TextWrapper.<init>(ContentScanner.java:770)
    18. org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.get(ContentScanner.java:690)
    19. org.pdfclown.documents.contents.ContentScanner$GraphicsObjectWrapper.access$0(ContentScanner.java:682)
    20. org.pdfclown.documents.contents.ContentScanner.getCurrentWrapper(ContentScanner.java:1154)
    20 frames
  3. org.pdfclown.tools
    TextExtractor.extract
    1. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:633)
    2. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:647)
    3. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:647)
    4. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:647)
    5. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:639)
    6. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:647)
    7. org.pdfclown.tools.TextExtractor.extract(TextExtractor.java:296)
    7 frames