IBM Support

Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null"

Troubleshooting


Problem

Deploying rule using Rule designer using -> Proceed to RuleApp deployment option through deployment configuration, however it is throwing me an error saying "An internal error occurred during: "RuleApp Deployment". Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null".

Symptom

Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.ibm.rules.res.security.internal.JAXBContextPrivilegedAction.run(JAXBContextPrivilegedAction.java:55)
	at com.ibm.rules.res.security.internal.JAXBContextPrivilegedAction.run(JAXBContextPrivilegedAction.java:27)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
	at com.ibm.rules.res.security.internal.JAXBContextPrivilegedAction.newJAXBContext(JAXBContextPrivilegedAction.java:73)
	at com.ibm.rules.res.xml.internal.JAXBContext.newInstance(JAXBContext.java:87)
	... 47 more

Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
	at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:311)

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"ARM Category":[{"code":"a8m0z0000001hueAAA","label":"Installation and configuration-\u003ERule designer"}],"ARM Case Number":"TS013907027","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.12.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Operational Decision Manager

Component:
Installation and configuration->Rule designer

Software version:
8.12.0

Operating system(s):
Windows

Document number:
7027938

Modified date:
17 August 2023

UID

ibm17027938

Manage My Notification Subscriptions