You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
smockin version [2201] running on windows server 2022,
java version "11.0.20" 2023-07-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.20+9-LTS-256)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.20+9-LTS-256, mixed mode)
Http endpoint with javascrip logic parse XML:
Everything is working fine, but smockin on all requests, write this exception to the log: 2023-12-19 13:03:20,673 ERROR [qtp1355973015-102] com.smockin.mockserver.service.JavaScriptResponseHandlerImpl : Error loading JS extensions java.io.FileNotFoundException: file:\C:\WEB\smockin-2.20.1.sa.win-x64\lib\smockin-2.20.1.jar!\BOOT-INF\classes!\js-extensions\from-xml.min.js (The filename, directory name, or volume label syntax is incorrect) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112) at java.base/java.io.FileReader.<init>(FileReader.java:60) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.loadEngineExtensions(JavaScriptResponseHandlerImpl.java:312) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.buildEngine(JavaScriptResponseHandlerImpl.java:302) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.executeJS(JavaScriptResponseHandlerImpl.java:89) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.executeUserResponse(JavaScriptResponseHandlerImpl.java:55) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl$$FastClassBySpringCGLIB$$53a8bb1b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl$$EnhancerBySpringCGLIB$$a06d86e.executeUserResponse(<generated>) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.processRequest(MockedRestServerEngineUtils.java:346) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.handleMockLookup(MockedRestServerEngineUtils.java:143) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.loadMockedResponse(MockedRestServerEngineUtils.java:93) at com.smockin.mockserver.engine.MockedRestServerEngineUtils$$FastClassBySpringCGLIB$$932885eb.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.smockin.mockserver.engine.MockedRestServerEngineUtils$$EnhancerBySpringCGLIB$$98137ade.loadMockedResponse(<generated>) at com.smockin.mockserver.engine.MockedRestServerEngine.processResponse(MockedRestServerEngine.java:333) at com.smockin.mockserver.engine.MockedRestServerEngine.lambda$buildGlobalHttpEndpointsHandler$6(MockedRestServerEngine.java:277) at spark.RouteImpl$1.handle(RouteImpl.java:72) at spark.http.matching.Routes.execute(Routes.java:61) at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:134) at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1598) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:834)
File location is OK:
and also js location is ok
The text was updated successfully, but these errors were encountered:
Hi,
smockin version [2201] running on windows server 2022,
java version "11.0.20" 2023-07-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.20+9-LTS-256)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.20+9-LTS-256, mixed mode)
Http endpoint with javascrip logic parse XML:
Everything is working fine, but smockin on all requests, write this exception to the log:
2023-12-19 13:03:20,673 ERROR [qtp1355973015-102] com.smockin.mockserver.service.JavaScriptResponseHandlerImpl : Error loading JS extensions java.io.FileNotFoundException: file:\C:\WEB\smockin-2.20.1.sa.win-x64\lib\smockin-2.20.1.jar!\BOOT-INF\classes!\js-extensions\from-xml.min.js (The filename, directory name, or volume label syntax is incorrect) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112) at java.base/java.io.FileReader.<init>(FileReader.java:60) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.loadEngineExtensions(JavaScriptResponseHandlerImpl.java:312) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.buildEngine(JavaScriptResponseHandlerImpl.java:302) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.executeJS(JavaScriptResponseHandlerImpl.java:89) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl.executeUserResponse(JavaScriptResponseHandlerImpl.java:55) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl$$FastClassBySpringCGLIB$$53a8bb1b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.smockin.mockserver.service.JavaScriptResponseHandlerImpl$$EnhancerBySpringCGLIB$$a06d86e.executeUserResponse(<generated>) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.processRequest(MockedRestServerEngineUtils.java:346) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.handleMockLookup(MockedRestServerEngineUtils.java:143) at com.smockin.mockserver.engine.MockedRestServerEngineUtils.loadMockedResponse(MockedRestServerEngineUtils.java:93) at com.smockin.mockserver.engine.MockedRestServerEngineUtils$$FastClassBySpringCGLIB$$932885eb.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.smockin.mockserver.engine.MockedRestServerEngineUtils$$EnhancerBySpringCGLIB$$98137ade.loadMockedResponse(<generated>) at com.smockin.mockserver.engine.MockedRestServerEngine.processResponse(MockedRestServerEngine.java:333) at com.smockin.mockserver.engine.MockedRestServerEngine.lambda$buildGlobalHttpEndpointsHandler$6(MockedRestServerEngine.java:277) at spark.RouteImpl$1.handle(RouteImpl.java:72) at spark.http.matching.Routes.execute(Routes.java:61) at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:134) at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1598) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:834)
File location is OK:
and also js location is ok
The text was updated successfully, but these errors were encountered: