Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step05 fails to build in native-mode #8

Open
zakkak opened this issue May 30, 2024 · 0 comments
Open

Step05 fails to build in native-mode #8

zakkak opened this issue May 30, 2024 · 0 comments

Comments

@zakkak
Copy link

zakkak commented May 30, 2024

Building step05 in native-mode results in the following error:

Error log:
Error: Unsupported features in 4 methods
Detailed message:
Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB embedded in
    org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:108)
  parsing method org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:96) reachable via the parsing context
    at static root method.(Unknown Source)
Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray embedded in
    org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:51)
  parsing method org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:85) reachable via the parsing context
    at org.apache.pdfbox.contentstream.PDFStreamEngine.initPage(PDFStreamEngine.java:136)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:151)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK@30e5507f: DeviceCMYK
  reading static field org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK.INSTANCE
    at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:131)
  parsing method org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:94) reachable via the parsing context
    at org.apache.pdfbox.pdmodel.graphics.form.PDTransparencyGroupAttributes.getColorSpace(PDTransparencyGroupAttributes.java:83)
    at org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1787)
    at org.apache.pdfbox.rendering.PageDrawer.applySoftMaskToPaint(PageDrawer.java:689)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroupOnGraphics(PageDrawer.java:1685)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1625)
    at org.apache.pdfbox.contentstream.operator.markedcontent.DrawObject.process(DrawObject.java:73)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:980)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:555)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:530)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: Discovered unresolved method during parsing: org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStream.<init>(java.io.InputStream). This error is reported at image build time because class org.apache.commons.compress.compressors.CompressorStreamFactory is registered for linking at image build time by command line and command line.
Error encountered while parsing org.apache.tika.parser.pkg.CompressorParser.parse(CompressorParser.java:172)
Parsing context:
   at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
   at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
   at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
   at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
   at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
   at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
   at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
   at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
   at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
   at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
   at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
   at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
   at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
   at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
   at static root method.(Unknown Source)


com.oracle.svm.core.util.UserError$UserException: Unsupported features in 4 methods
Detailed message:
Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB embedded in
    org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:108)
  parsing method org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:96) reachable via the parsing context
    at static root method.(Unknown Source)

Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray embedded in
    org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:51)
  parsing method org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:85) reachable via the parsing context
    at org.apache.pdfbox.contentstream.PDFStreamEngine.initPage(PDFStreamEngine.java:136)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:151)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK@30e5507f: DeviceCMYK
  reading static field org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK.INSTANCE
    at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:131)
  parsing method org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:94) reachable via the parsing context
    at org.apache.pdfbox.pdmodel.graphics.form.PDTransparencyGroupAttributes.getColorSpace(PDTransparencyGroupAttributes.java:83)
    at org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1787)
    at org.apache.pdfbox.rendering.PageDrawer.applySoftMaskToPaint(PageDrawer.java:689)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroupOnGraphics(PageDrawer.java:1685)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1625)
    at org.apache.pdfbox.contentstream.operator.markedcontent.DrawObject.process(DrawObject.java:73)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:980)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:555)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:530)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: Discovered unresolved method during parsing: org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStream.<init>(java.io.InputStream). This error is reported at image build time because class org.apache.commons.compress.compressors.CompressorStreamFactory is registered for linking at image build time by command line and command line.
Error encountered while parsing org.apache.tika.parser.pkg.CompressorParser.parse(CompressorParser.java:172)
Parsing context:
   at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
   at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
   at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
   at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
   at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
   at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
   at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
   at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
   at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
   at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
   at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
   at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
   at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
   at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
   at static root method.(Unknown Source)


	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:85)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:248)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:814)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:592)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:550)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:539)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:721)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:143)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:98)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 4 methods
Detailed message:
Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB@7f8b3931: DeviceRGB embedded in
    org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:108)
  parsing method org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:96) reachable via the parsing context
    at static root method.(Unknown Source)

Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray
  scanning root org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray@193d8b67: DeviceGray embedded in
    org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:51)
  parsing method org.apache.pdfbox.pdmodel.graphics.state.PDGraphicsState.<init>(PDGraphicsState.java:85) reachable via the parsing context
    at org.apache.pdfbox.contentstream.PDFStreamEngine.initPage(PDFStreamEngine.java:136)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:151)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: An object of type 'java.awt.image.ColorConvertOp' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'java.awt.image.ColorConvertOp' are persisted in the image heap, add

    '--initialize-at-build-time=java.awt.image.ColorConvertOp'

to the native-image arguments. Note that initializing new types can store additional objects to the heap. It is advised to check the static fields of 'java.awt.image.ColorConvertOp' to see if they are safe for build-time initialization,  and that they do not contain any sensitive data that should not become part of the image.

2) If these objects should not be stored in the image heap, you can use

    '--trace-object-instantiation=java.awt.image.ColorConvertOp'

to find classes that instantiate these objects. Once you found such a class, you can mark it explicitly for run time initialization with

    '--initialize-at-run-time=<culprit>'

to prevent the instantiation of the object.

If you are seeing this message after enabling '--strict-image-heap', this means that some objects ended up in the image heap without their type being marked with --initialize-at-build-time.
To fix this, include '--initialize-at-build-time=java.awt.image.ColorConvertOp' in your configuration. If the classes do not originate from your code, it is advised to update all library or framework dependencies to the latest version before addressing this error.
Please address this problem to be prepared for future releases of GraalVM.

The following detailed trace displays from which field in the code the object was reached.
Trace: Object was reached by
  reading field org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.colorConvertOp of constant
    org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK@30e5507f: DeviceCMYK
  reading static field org.apache.pdfbox.pdmodel.graphics.color.PDDeviceCMYK.INSTANCE
    at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:131)
  parsing method org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:94) reachable via the parsing context
    at org.apache.pdfbox.pdmodel.graphics.form.PDTransparencyGroupAttributes.getColorSpace(PDTransparencyGroupAttributes.java:83)
    at org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1787)
    at org.apache.pdfbox.rendering.PageDrawer.applySoftMaskToPaint(PageDrawer.java:689)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroupOnGraphics(PageDrawer.java:1685)
    at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1625)
    at org.apache.pdfbox.contentstream.operator.markedcontent.DrawObject.process(DrawObject.java:73)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:980)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:555)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:530)
    at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)
    at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:155)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.loadTextByMCID(PDFMarkedContent2XHTML.java:419)
    at org.apache.tika.parser.pdf.PDFMarkedContent2XHTML.processPages(PDFMarkedContent2XHTML.java:220)
    at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:238)
    at org.apache.tika.parser.pdf.OCR2XHTML.process(OCR2XHTML.java:63)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:212)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
    at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
    at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
    at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
    at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
    at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
    at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
    at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
    at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
    at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
    at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
    at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
    at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
    at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
    at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
    at static root method.(Unknown Source)

Error: Discovered unresolved method during parsing: org.apache.commons.compress.compressors.zstandard.ZstdCompressorInputStream.<init>(java.io.InputStream). This error is reported at image build time because class org.apache.commons.compress.compressors.CompressorStreamFactory is registered for linking at image build time by command line and command line.
Error encountered while parsing org.apache.tika.parser.pkg.CompressorParser.parse(CompressorParser.java:172)
Parsing context:
   at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298)
   at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203)
   at dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.parse(ApacheTikaDocumentParser.java:67)
   at dev.langchain4j.data.document.DocumentLoader.load(DocumentLoader.java:25)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.loadDocument(FileSystemDocumentLoader.java:55)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader.lambda$loadDocuments$3(FileSystemDocumentLoader.java:488)
   at dev.langchain4j.data.document.loader.FileSystemDocumentLoader$$Lambda/0x00000007c360b338.accept(Unknown Source)
   at java.util.PriorityQueue$PriorityQueueSpliterator.tryAdvance(PriorityQueue.java:875)
   at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.iteratorFor(ServiceLoader.java:1054)
   at java.util.ServiceLoader$ModuleServicesLookupIterator.<init>(ServiceLoader.java:1001)
   at java.util.ServiceLoader.newLookupIterator(ServiceLoader.java:1304)
   at java.util.ServiceLoader.iterator(ServiceLoader.java:1368)
   at jdk.internal.logger.LoggerFinderLoader.loadDefaultImplementation(LoggerFinderLoader.java:227)
   at jdk.internal.logger.LoggerFinderLoader.loadLoggerFinder(LoggerFinderLoader.java:190)
   at jdk.internal.logger.LoggerFinderLoader.service(LoggerFinderLoader.java:91)
   at java.lang.System$LoggerFinder$$Lambda/0x00000007c2cfcfd8.run(Unknown Source)
   at com.oracle.svm.core.jdk.Target_java_security_AccessController.executePrivileged(SecuritySubstitutions.java:129)
   at sun.java2d.loops.GraphicsPrimitive.<clinit>(GraphicsPrimitive.java:341)
   at static root method.(Unknown Source)


	at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:809)
	... 6 more

Reproducer

cd step05
./mvnw -Dnative package
./target/quarkus-langchain4j-workshop-1.0.0-runner

Environment

OS: Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 x86_64

native-image 21.0.2 2024-01-16
GraalVM Runtime Environment GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30)
Substrate VM GraalVM CE 21.0.2+13.1 (build 21.0.2+13, serial gc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant