It's all about the answers!

Ask a question

Exporting Models from Matlab to DM server via Design Manager app


Tiago Portolon (638) | asked Mar 31 '16, 8:32 a.m.
Hi,

I'm trying to export a Simulink model, using the Design Manager app for Matlab/Simulink 2012b 32bit.
When I set the server URL and provide my ID and password, I get the following error:
***
Error using publishSimulinkModelToDM (line 19)
Java exception occurred:
java.lang.NoSuchMethodError:
org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V

    at
    org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:499)
    
    at
    org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

    at
    org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)

    at
    org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)

    at
    com.ibm.xtools.rmpx.oauth.internal.jaf.OAuthConsumerClientHelper.performOAuthChallenge(OAuthConsumerClientHelper.java:207)
    
    at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.execute(OAuthClientImpl.java:219)

    at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:104)

    at com.ibm.xtools.rmpx.oauth.OAuthCommunicator.execute(OAuthCommunicator.java:100)

    at
    com.ibm.rational.rdm.simulinkintegration.manage.DMConnection.testConnection(DMConnection.java:147)
    
    at
    com.ibm.rational.rdm.simulinkintegration.manage.DMConnection.connectToDMServer(DMConnection.java:109)
    
    at
    com.ibm.rational.rdm.simulinkintegration.ui.OpenSimulinkModelFromDMDialog.connectToServer(OpenSimulinkModelFromDMDialog.java:488)
    
    at
    com.ibm.rational.rdm.simulinkintegration.ui.OpenSimulinkModelFromDMDialog.access$0(OpenSimulinkModelFromDMDialog.java:455)
    
    at
    com.ibm.rational.rdm.simulinkintegration.ui.OpenSimulinkModelFromDMDialog$1.widgetSelected(OpenSimulinkModelFromDMDialog.java:270)
    
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)

    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)

    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)

    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

    at
    com.ibm.rational.rdm.simulinkintegration.ui.OpenSimulinkModelFromDMDialog.open(OpenSimulinkModelFromDMDialog.java:147)
    
    at
    com.ibm.rational.rdm.simulinkintegration.manage.DMConnection.openPublishToDMDialog(DMConnection.java:334)
    

Error in openDesignManagerDialog (line 64)
        publishSimulinkModelToDM();

Error in openDesignManagerDialogApp/startApp (line 62)
              eval('openDesignManagerDialog');

Error in openDesignManagerDialogApp (line 21)
      startApp(obj)

Error in appinstall.internal.runapp>execute (line 29)
    out = evalin('caller', [script ';']);

Error in appinstall.internal.runapp (line 8)
    appobj = execute(runcommand);

***
Did anyone faced this problem before?
How can I fix this?

Thanks in advance,
Portolon

Comments
Tiago Portolon commented Apr 05 '16, 10:27 a.m.

Where can I find information about Matlab versions supported by Jazz CLM 6.0.1?


Tiago Portolon commented Apr 07 '16, 5:17 p.m.

Looking closer to the og, a possible cause to this error is a conflict between Java versions (from Matlab and the one from Design Manager).
When I open the DM app, what Matlab does is to call a Java class which is property of the Design Manager. Then the error occurs.

One answer



permanent link
Deepali Deshmukh (8914261) | answered Oct 14 '16, 6:01 a.m.
Hi Tiago,
I am facing similar issue, were you able to resolve? How did you fix this issue

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.