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

[BUG]: JDK17 exist Reflect Problem #613

Open
3 tasks done
RTxin opened this issue Dec 4, 2023 · 1 comment
Open
3 tasks done

[BUG]: JDK17 exist Reflect Problem #613

RTxin opened this issue Dec 4, 2023 · 1 comment

Comments

@RTxin
Copy link

RTxin commented Dec 4, 2023

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

1.14.0

Installation Type

Official SaaS Service

Describe the details of the bug and the steps to reproduce it

java.lang.IllegalAccessException: class io.dongtai.iast.core.handler.hookpoint.vulscan.dynamic.xxe.XMLInputFactoryCheck cannot access class com.sun.xml.internal.stream.XMLInputFactoryImpl (in module java.xml) because module java.xml does not export com.sun.xml.internal.stream to unnamed module @22d6f11

Additional Information

No response

Logs

java.lang.IllegalAccessException: class io.dongtai.iast.core.handler.hookpoint.vulscan.dynamic.xxe.XMLInputFactoryCheck cannot access class com.sun.xml.internal.stream.XMLInputFactoryImpl (in module java.xml) because module java.xml does not export com.sun.xml.internal.stream to unnamed module @22d6f11
@allen07sec
Copy link
Member

Please add the following parameters during startup and observe if this type of problem still exists

    --add-opens="java.xml/com.sun.xml.internal.stream=ALL-UNNAMED" \
    --add-opens="java.xml/com.sun.org.apache.xerces.internal.utils=ALL-UNNAMED" \
    --add-opens="java.xml/com.sun.org.apache.xerces.internal.impl=ALL-UNNAMED" \

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

2 participants