phungvannarich-kepler-aavn opened a new issue, #2757:
URL: https://github.com/apache/incubator-kie-tools/issues/2757

   I always get error with "Run" function whenever "Include Model"
   
   Before "Include Model":
   
![before](https://github.com/user-attachments/assets/5b9587c3-9a67-4d5c-b9d5-451db1b03a42)
   
   
   After "Include Model":
   
![after](https://github.com/user-attachments/assets/ee06e561-35a2-42f6-9a21-1c5dce19d89f)
   
   
   This is the included DMN:
   ![included 
rule](https://github.com/user-attachments/assets/fe14e750-7eb4-43e3-b69d-9496893dad96)
   
   
   This is the error I saw on browser:
   ![error 
browser](https://github.com/user-attachments/assets/0c75a6c9-d57a-4f64-9e94-2b99857aecce)
   
   
   This is the error from extended service:
   `2024-11-21 10:43:43,639 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] 
(executor-thread-41) HTTP Request to /jitdmn/dmnresult failed, error id: 
f60c9b73-5a0f-405c-bbf3-828da9113c53-80: 
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: DMN 
Model with name=Untitled and 
namespace=https://kiegroup.org/dmn/_FD03680C-463E-460E-B7FB-A3DD7CB2E05C failed 
to import a DMN with namespace=http://www.drools.org/kie/dmn/1.1 name=test 
locationURI=RuleDemo.dmn, modelName=null. 
        at 
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:107)
        at 
org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:344)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:205)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:452)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:240)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:154)
        at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:157)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:229)
        at 
io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:82)
        at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:147)
        at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
        at 
io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
        at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
        at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
        at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
        at 
org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:840)
   Caused by: java.lang.RuntimeException: DMN Model with name=Untitled and 
namespace=https://kiegroup.org/dmn/_FD03680C-463E-460E-B7FB-A3DD7CB2E05C failed 
to import a DMN with namespace=http://www.drools.org/kie/dmn/1.1 name=test 
locationURI=RuleDemo.dmn, modelName=null. 
        at org.kie.dmn.feel.util.Either.getOrElseThrow(Either.java:66)
        at 
org.kie.dmn.core.assembler.DMNAssemblerService.enrichDMNResourcesWithImportsDependencies(DMNAssemblerService.java:139)
        at 
org.kie.dmn.core.internal.utils.DMNRuntimeBuilder$DMNRuntimeBuilderConfigured.fromResources(DMNRuntimeBuilder.java:188)
        at 
org.kie.kogito.jitexecutor.dmn.DMNEvaluator.fromMultiple(DMNEvaluator.java:92)
        at 
org.kie.kogito.jitexecutor.dmn.JITDMNServiceImpl.evaluateModel(JITDMNServiceImpl.java:151)
        at 
org.kie.kogito.jitexecutor.dmn.JITDMNServiceImpl_ClientProxy.evaluateModel(Unknown
 Source)
        at 
org.kie.kogito.jitexecutor.dmn.api.JITDMNResource.jitdmnResult(JITDMNResource.java:76)
        at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
        at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:413)
        at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
        at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
        at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:429)
        ... 15 more`
   
   
   I’m unsure how to investigate this issue. Could you please assist me in 
resolving it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to