Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Exporting Models from Matlab to DM server via Design Manager app

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

0 votes

Comments

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

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
Hi Tiago,
I am facing similar issue, were you able to resolve? How did you fix this issue

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,510

Question asked: Mar 31 '16, 8:32 a.m.

Question was seen: 3,395 times

Last updated: Oct 14 '16, 6:01 a.m.

Confirmation Cancel Confirm