What version of matlabcontrol are you using?
(Release versions: 4.1.0, 4.0.0, 3.1.0, 3.0.1, 3.0.0, or 2.0.0)
4.1.0
What version of MATLAB are you using?
R2012b
What operating system are you using?
Windows 8.1
Are you using matlabcontrol from inside MATLAB or outside MATLAB?
Outside Matlab (Java Web Application)
What steps will reproduce the problem?
..while invoking a matlab function from java
What did you expect to happen? What happened instead?
..Matlab session would start usually when using on windows 7
.. Instead An exception occurred
If there was a stack trace, please copy it here.
type Exception report
message An exception occurred processing JSP page /addingclip.jsp at line 76
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page
/addingclip.jsp at line 76
73:
74:
75: MatlabProxyFactory factory = new MatlabProxyFactory();
76: MatlabProxy proxy = factory.getProxy();
77: //proxy.disconnect();
78: //invoke matlab function here
79: proxy.setVariable("a", saveFile);
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
root cause
javax.servlet.ServletException: matlabcontrol.MatlabConnectionException: Could
not bind proxy receiver to the RMI registry
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:905)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:834)
org.apache.jsp.addingclip_jsp._jspService(addingclip_jsp.java:184)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
root cause
matlabcontrol.MatlabConnectionException: Could not bind proxy receiver to the
RMI registry
matlabcontrol.RemoteMatlabProxyFactory.requestProxy(RemoteMatlabProxyFactory.java:104)
matlabcontrol.RemoteMatlabProxyFactory.getProxy(RemoteMatlabProxyFactory.java:144)
matlabcontrol.MatlabProxyFactory.getProxy(MatlabProxyFactory.java:81)
org.apache.jsp.addingclip_jsp._jspService(addingclip_jsp.java:148)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
root cause
java.rmi.NoSuchObjectException: no such object in table
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
matlabcontrol.RemoteMatlabProxyFactory.requestProxy(RemoteMatlabProxyFactory.java:99)
matlabcontrol.RemoteMatlabProxyFactory.getProxy(RemoteMatlabProxyFactory.java:144)
matlabcontrol.MatlabProxyFactory.getProxy(MatlabProxyFactory.java:81)
org.apache.jsp.addingclip_jsp._jspService(addingclip_jsp.java:148)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
Please provide any additional information below.
It was working fine when deployed on windows 7. I migrated the project on windows 8.1 which also had another version of matlab installed.I thought , there was error bcoz of multiple versions of Matlab so i uninstalled both and again installed the required one.Still not working ... Please tell me where is the problem and how can i resolve this..
Original issue reported on code.google.com by sonam.fg...@gmail.com on 3 Jul 2015 at 11:05
Original issue reported on code.google.com by
sonam.fg...@gmail.com
on 3 Jul 2015 at 11:05