imresize not working on Matlab compiler runtime server

5 views (last 30 days)
Dear Team MathWorks,
I have compiled a Matlab application using Java Complier of the Matlab. The Application is running but it is giving follpwing error for imresize which is as follows:
[
2015-05-28T11:16:44.687+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=124 _ThreadName=Thread-4] [timeMillis: 1432804604687] [levelValue: 1000] [[
Undefined function or variable 'imresizemex'.
Error in imresize>resizeAlongDim (line 762)
Error in imresize (line 169)
Error in Run_Feature_Extraction (line 58)]]
[2015-05-28T11:16:44.689+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604689] [levelValue: 1000] [[
... Matlab M-code Stack Trace ...]]
[2015-05-28T11:16:44.689+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604689] [levelValue: 1000] [[
file /root/.mcrCache8.5/Featur0/toolbox/images/images/imresize.m, name resizeAlongDim, line 762.]]
[2015-05-28T11:16:44.689+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604689] [levelValue: 1000] [[
file /root/.mcrCache8.5/Featur0/toolbox/images/images/imresize.m, name imresize, line 169.]]
[2015-05-28T11:16:44.689+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604689] [levelValue: 1000] [[
file /root/.mcrCache8.5/Featur0/FeatureExtra/Run_Feature_Extraction.m, name Run_Feature_Extraction, line 58.]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
... Matlab M-code Stack Trace ...
file /root/.mcrCache8.5/Featur0/toolbox/images/images/imresize.m, name resizeAlongDim, line 762.
file /root/.mcrCache8.5/Featur0/toolbox/images/images/imresize.m, name imresize, line 169.
file /root/.mcrCache8.5/Featur0/FeatureExtra/Run_Feature_Extraction.m, name Run_Feature_Extraction, line 58.
com.mathworks.toolbox.javabuilder.MWException: Undefined function 'imresizemex' for input arguments of type 'uint8'.
at com.mathworks.toolbox.javabuilder.internal.MWMCR.mclFeval(Native Method)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.access$600(MWMCR.java:30)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$6.mclFeval(MWMCR.java:856)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$5.invoke(MWMCR.java:754)
at com.sun.proxy.$Proxy188.mclFeval(Unknown Source)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.invoke(MWMCR.java:422)
at FeatureExtraction.FeatureExtraction.Run_Feature_Extraction(FeatureExtraction.java:235)
at example.HelloWorld.doPost(HelloWorld.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:91)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:346)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:341)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:224)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:198)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:946)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:323)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
at java.lang.Thread.run(Thread.java:745)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at com.mathworks.toolbox.javabuilder.internal.MWMCR.mclFeval(Native Method)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at com.mathworks.toolbox.javabuilder.internal.MWMCR.access$600(MWMCR.java:30)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at com.mathworks.toolbox.javabuilder.internal.MWMCR$6.mclFeval(MWMCR.java:856)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at java.lang.reflect.Method.invoke(Method.java:497)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at com.mathworks.toolbox.javabuilder.internal.MWMCR$5.invoke(MWMCR.java:754)]]
[2015-05-28T11:16:44.693+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604693] [levelValue: 1000] [[
at com.sun.proxy.$Proxy188.mclFeval(Unknown Source)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at com.mathworks.toolbox.javabuilder.internal.MWMCR.invoke(MWMCR.java:422)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at FeatureExtraction.FeatureExtraction.Run_Feature_Extraction(FeatureExtraction.java:235)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at example.HelloWorld.doPost(HelloWorld.java:39)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at java.lang.reflect.Method.invoke(Method.java:497)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:91)]]
[2015-05-28T11:16:44.694+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604694] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:346)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:341)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:224)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:198)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:946)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:323)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)]]
[2015-05-28T11:16:44.695+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604695] [levelValue: 1000] [[
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)]]
[2015-05-28T11:16:44.696+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604696] [levelValue: 1000] [[
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)]]
[2015-05-28T11:16:44.697+0200] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=24 _ThreadName=Thread-4] [timeMillis: 1432804604697] [levelValue: 1000] [[
at java.lang.Thread.run(Thread.java:745)]]
Could please advise me what to do.
Thanks and Best Regards,
Dhara.
  4 Comments
AA
AA on 28 Jan 2019
Edited: AA on 28 Jan 2019
I am facing a similar problem with Matlab R2016b. I checked by running ver that I have 'Image Processing Toolbox' installed, but I still get 'imresize not defined' error while running my compiled application as shown below. Does anybody have a solution?
Capture.PNG
Image Analyst
Image Analyst on 28 Jan 2019
Why are you getting a popup message instead of red text in the command window? Did you use try/catch to do that? Anyway, you could have the image processing toolbox installed but not have a license. For example you're using a license pool and all the licenses are checked out already. What does this show:
% Check that user has the specified Toolbox installed and licensed.
hasLicenseForToolbox = license('test', 'image_toolbox'); % Check for Image Processing Toolbox.
if ~hasLicenseForToolbox
% User does not have the toolbox installed, or if it is, there is no available license for it.
% For example, there is a pool of 10 licenses and all 10 have been checked out by other people already.
ver % List what toolboxes the user has licenses available for.
message = sprintf('Sorry, but you do not seem to have the Image Processing Toolbox.\nDo you want to try to continue anyway?');
reply = questdlg(message, 'Toolbox missing', 'Yes', 'No', 'Yes');
if strcmpi(reply, 'No')
% User said No, so exit.
return;
end
end
Also show the results of
>> ver

Sign in to comment.

Answers (2)

Dasharath Gulvady
Dasharath Gulvady on 29 May 2015
Edited: Dasharath Gulvady on 3 Jun 2015
what is "imresizemex"? If it is a function, add is as one of the required files while creating the executable.
[Edit]
Try recompiling the component in a MATLAB installation on the same platform as which your Glassfish server runs on.

Image Analyst
Image Analyst on 1 Jun 2015
Send it to support@mathworks.com along with your "ver" information. They will send it to the imaging team and get you an answer. I had a similar thing with the R2014b version where it had trouble compiling the imhist() function.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!