MCUXpresso IDE Error on SDK New Project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso IDE Error on SDK New Project

2,875 Views
ssdflash
Contributor I

I downloaded MCUXpresso IDE v10.0.2_411 today to my formatted windows 10 (i installed java se). And from mcuxpresso sdk web page i downloaded kl27z sdk2.2.1 for windows with mcu xpresso selected.

Like always, i installed sdk to ide with drag drop then clicked new project and select kl27z picture to create project but it gives multiple MalforemedURIException type errors. If i say ok and continue with those errors, then when i build the project it gives linker script error and i cannot create a project. Any help please. 

The problems can be seen in the pictures

Labels (1)
0 Kudos
6 Replies

2,053 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

it seems there is a char not properly recognised in your user path, where MCUXpressoIDE installs some internal files and the SDKs as well.

Could you please post the "username" you are using? (as it appears in the path "/Users/myusername/mcuxpresso/SDKPackages") ?

Thanks, regards.

MCUXpresso IDE support team.

0 Kudos

2,053 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Please can you post the .log file from the .metadata folder of your workspace directory.

Also, it sounds like you already have other SDKs already installed, and working correctly within your MCUXpresso IDE environment. Can you confirm this is the case (and which SDKs you are already using)?

Finally, can you please confirm the directory names shown in

  • Preferences - MCUXpresso IDE - SDK Options

Regards,

MCUXpresso IDE Support

0 Kudos

2,052 Views
alejandramartin
Contributor I

Please, i also have the same exacti issue.

This is the default path for my SDK packages

"C:\Users\Alejandra Martínez\mcuxpresso\SDKPackages"

0 Kudos

2,053 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Using which IDE version? This should be resolved with the latest MCUXpresso IDE v10.2 (released last week).

Regards,

MCUXpresso IDE Support

0 Kudos

2,053 Views
ssdflash
Contributor I

Path contains invalid character:

Path contains invalid character:
at com.sun.org.apache.xerces.internal.util.URI.initializePath(URI.java:1109)
at com.sun.org.apache.xerces.internal.util.URI.initialize(URI.java:582)
at com.sun.org.apache.xerces.internal.util.URI.<init>(URI.java:335)
at com.sun.org.apache.xerces.internal.util.URI.<init>(URI.java:298)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemIdStrictOff1(XMLEntityManager.java:2221)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(XMLEntityManager.java:2053)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntityAsPerStax(XMLEntityManager.java:968)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1152)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1045)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:959)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
at com.crt.utils.xmlparser.XMLParser.parse(XMLParser.java:301)
at com.crt.utils.xmlparser.XMLParser.parse(XMLParser.java:347)
at com.crt.utils.xmlparser.XMLParser.parseXML(XMLParser.java:502)
at com.crt.config.info.InfolistDB.parseTheXML(InfolistDB.java:409)
at com.crt.config.info.InfolistDBCache.getCachedDB(InfolistDBCache.java:100)
at com.crt.config.info.InfolistDB.createFromURL(InfolistDB.java:192)
at com.crt.config.database.TargetConfig.getInfoFromPackage(TargetConfig.java:868)
at com.crt.config.database.TargetConfig.modifiedVendorPackage(TargetConfig.java:1319)
at com.crt.config.database.TargetConfig.setVendorPackage(TargetConfig.java:1665)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.SDKAdvancedPage.refresh(SDKAdvancedPage.java:1431)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.AbstractSDKPage.forceRefresh(AbstractSDKPage.java:734)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage.checkDialog(BoardDeviceSelectionPage.java:1036)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage$9.selectionChanged(BoardDeviceSelectionPage.java:644)
at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1728)
at org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:162)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:383)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage.setSDKSelection(BoardDeviceSelectionPage.java:666)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage.selectBoard(BoardDeviceSelectionPage.java:1524)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage.access$33(BoardDeviceSelectionPage.java:1509)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage$15$1$1.run(BoardDeviceSelectionPage.java:1299)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.nxp.mcuxpresso.core.datamodels.ui.wizards.BoardDeviceSelectionPage$15$1.run(BoardDeviceSelectionPage.java:1295)
at org.eclipse.swt.widgets.Display.runTimer(Display.java:4337)
at org.eclipse.swt.widgets.Display.messageProc(Display.java:3426)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at com.crt.quickstart.views.links.AbstractQSLink.runWizard(AbstractQSLink.java:444)
at com.nxp.mcuxpresso.core.datamodels.ui.links.QSSDKWizard.linkSelected(QSSDKWizard.java:77)
at com.crt.quickstart.views.links.ui.QSLinkAction$2.run(QSLinkAction.java:134)
at com.crt.quickstart.views.links.ui.QSExpandBarSection$2.linkActivated(QSExpandBarSection.java:173)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:228)
at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:202)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:322)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:306)
at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:129)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
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:498)
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)

0 Kudos

2,053 Views
ssdflash
Contributor I

Hi, thanks for response.

That first computer giving error is not near me i can post log tomorrow.

I downloaded MCUXpresso IDE v10.0.2_411 to another second windows 10 computer along with the same sdk kl27z sdk-2.2.1 and they work perfectly fine. MCU-IDE on both computer is in stock settings nothing changed by me. SDK Search roots are default /Users/myusername/mcuxpresso/SDKPackages in both computers.

I have an opinion which might causing an error in the first windows 10 computer

  •    This second computer has Microsoft Visual C++ installed. Since the first computer was newly formatted nothing is installed in it like NetFrameWork or C++. 

Could this be affective. The latest IDE 10.0.2.411 and latest kl27z sdk-2.2.1 has no problem the problem is in somewhere else.

0 Kudos