This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CDB Import Error MODEL IMPORT ERROR

Hello,

i am running the DS5 Community Edition under Ubuntu 16.04 64bit and wanted to work with the Armv8-A Base Platform FVP for my Diploma.  Addind a new Model Database and i launch the Model it works fine but While Importing the Models as showed in the Guide an Error is shown: CDB Import Error MODEL IMPORT ERROR.

I Cannot find anything about it. The Path Variables to the Model and DS 5 are set.

Same Error comes when i try to use the Armv8-A Foundation Platform

Thanks for any Help in Advance

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product com.arm.ds.ce
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.arm.ds.ce

com.arm.debug.configdatabase.modelconfig.gui
Error
Thu Jan 11 14:50:02 CET 2018
CDB Import Error MODEL IMPORT ERROR

com.arm.pce.exceptions.ModelImportException: MODEL IMPORT ERROR
	at com.arm.pce.importer.ImportController.importModelFromFile(ImportController.java:382)
	at com.arm.pce.importer.ImportController.doModelImport(ImportController.java:225)
	at com.arm.pce.importer.ImportController.doImport(ImportController.java:190)
	at com.arm.debug.configdatabase.modelconfig.gui.pceditor.CdbImportProgress.run(CdbImportProgress.java:128)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:481)
	at com.arm.debug.configdatabase.modelconfig.gui.pceditor.PlatformConfigEditPart.performImport(PlatformConfigEditPart.java:3325)
	at com.arm.debug.configdatabase.modelconfig.gui.pceditor.PlatformConfigEditPart.access$6(PlatformConfigEditPart.java:3319)
	at com.arm.debug.configdatabase.modelconfig.gui.pceditor.PlatformConfigEditPart$2.widgetSelected(PlatformConfigEditPart.java:418)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at com.arm.workbench.Hook.run(Hook.java:487)
Caused by: java.lang.NullPointerException
	at javax.xml.transform.stream.StreamSource.<init>(StreamSource.java:147)
	at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:654)
	at com.arm.pce.dstream.impl.ModelDescFileParser.validateAgainstSchema(ModelDescFileParser.java:77)
	at com.arm.pce.dstream.impl.ModelDescFileParser.<init>(ModelDescFileParser.java:63)
	at com.arm.pce.importer.ImportController.importModelFromFile(ImportController.java:329)
	... 37 more

  • Hello - thank you for downloading DS-5 Community Edition. This is a limited version of the full DS-5 toolchain, and as such, certain features are unavailable. This includes the ability to create configurations of new targets, which is what you are trying to do here.

    That being said, there is no need for you to do this... these configurations are already provided with the tool. Go to the (Window -> Perspective -> Open Perspective ->) DS-5 Debug Perspective, then go to the Debug Control pane. Right-click therein, and select Debug Configurations, and you will see the available targets listed (as below).