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
I have a strange exception using InEditor with InFactory (both the current master versions) with the simple single cell example IndoorGML file export.
Below is my exception which is quite odd as I had thought this class is part of the standard JDK and JRE. If you have any insights please do share.
javax.servlet.ServletException: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/activation/DataSource
at org.eclipse.jetty.server.handler.HandlerCollection.handle (HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle (Server.java:530)
at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:347)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:256)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run (ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce (EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce (EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run (EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:382)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:708)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:626)
at java.lang.Thread.run (Thread.java:829)
Caused by: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/activation/DataSource
at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:1006)
at org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:978)
at org.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:870)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle (ServletHolder.java:860)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1650)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter (WebSocketUpgradeFilter.java:206)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1637)
at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:190)
at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle (HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle (Server.java:530)
at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:347)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:256)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run (ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce (EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce (EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run (EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:382)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:708)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:626)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit> (RuntimeBuiltinLeafInfoImpl.java:470)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init> (RuntimeTypeInfoSetImpl.java:63)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet (RuntimeModelBuilder.java:128)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet (RuntimeModelBuilder.java:84)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<init> (ModelBuilder.java:162)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init> (RuntimeModelBuilder.java:92)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet (JAXBContextImpl.java:444)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init> (JAXBContextImpl.java:292)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init> (JAXBContextImpl.java:139)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build (JAXBContextImpl.java:1138)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:162)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:286)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at javax.xml.bind.ContextFinder.newInstance (ContextFinder.java:186)
at javax.xml.bind.ContextFinder.newInstance (ContextFinder.java:146)
at javax.xml.bind.ContextFinder.find (ContextFinder.java:350)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:446)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:409)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:313)
at edu.pnu.stem.binder.Mashaller.marshalIndoorFeatures (Mashaller.java:81)
at edu.pnu.stem.binder.IndoorGMLMap.Marshall (IndoorGMLMap.java:237)
at edu.pnu.stem.api.DocumentController.getDocument (DocumentController.java:162)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:871)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:777)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:978)
at org.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:870)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle (ServletHolder.java:860)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1650)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter (WebSocketUpgradeFilter.java:206)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1637)
at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:190)
at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle (HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle (Server.java:530)
at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:347)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:256)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run (ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce (EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce (EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run (EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:382)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:708)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:626)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass (SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass (ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (ClassRealm.java:239)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass (WebAppClassLoader.java:565)
at java.lang.ClassLoader.loadClass (ClassLoader.java:522)
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit> (RuntimeBuiltinLeafInfoImpl.java:470)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init> (RuntimeTypeInfoSetImpl.java:63)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet (RuntimeModelBuilder.java:128)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet (RuntimeModelBuilder.java:84)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<init> (ModelBuilder.java:162)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init> (RuntimeModelBuilder.java:92)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet (JAXBContextImpl.java:444)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init> (JAXBContextImpl.java:292)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init> (JAXBContextImpl.java:139)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build (JAXBContextImpl.java:1138)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:162)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:286)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at javax.xml.bind.ContextFinder.newInstance (ContextFinder.java:186)
at javax.xml.bind.ContextFinder.newInstance (ContextFinder.java:146)
at javax.xml.bind.ContextFinder.find (ContextFinder.java:350)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:446)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:409)
at javax.xml.bind.JAXBContext.newInstance (JAXBContext.java:313)
at edu.pnu.stem.binder.Mashaller.marshalIndoorFeatures (Mashaller.java:81)
at edu.pnu.stem.binder.IndoorGMLMap.Marshall (IndoorGMLMap.java:237)
at edu.pnu.stem.api.DocumentController.getDocument (DocumentController.java:162)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke (InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest (InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle (ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod (RequestMappingHandlerAdapter.java:871)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal (RequestMappingHandlerAdapter.java:777)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle (AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:978)
at org.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:870)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:855)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle (ServletHolder.java:860)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1650)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter (WebSocketUpgradeFilter.java:206)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1637)
at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:190)
at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle (HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle (Server.java:530)
at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:347)
at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:256)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run (ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce (EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce (EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run (EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:382)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:708)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:626)
at java.lang.Thread.run (Thread.java:829)
System is Ubuntu 20.04 on WSL2 on Win10. Java version is OpenJDK 11.0.13 (2021-10-19). Client browser is Chrome 96.0.4664.110 (the latest) on Win10.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
I think I was confused by the readme that said to use the latest JDK, but not the latest v8 JDK. I took that to mean use JDK 11 rather than the latest v8 JDK.
Working now though! Thanks!!!
I'll leave this open in case anyone wants to review it for the README comment.
Hello,
I have a strange exception using InEditor with InFactory (both the current master versions) with the simple single cell example IndoorGML file export.
Below is my exception which is quite odd as I had thought this class is part of the standard JDK and JRE. If you have any insights please do share.
System is Ubuntu 20.04 on WSL2 on Win10. Java version is OpenJDK 11.0.13 (2021-10-19). Client browser is Chrome 96.0.4664.110 (the latest) on Win10.
Thanks in advance!
The text was updated successfully, but these errors were encountered: