unable to copy a project, weird internal error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

unable to copy a project, weird internal error

1,266 次查看
robertmorrison
Contributor II

I have the EVKMIM1062 eval board. I can load the demo blinky program and debug it successfully, but am unable to add a new project or copy this project with a new name. The copy builds successfully but when I do a debug, it gets to target discovery, then I get this:

'SafeUIJobWithProgress' has encountered a problem. An internal error has occurred.

details shows this:

An internal error has occurred.
java.lang.NullPointerException

I erased mcuxpress and re-installed, along with the EVK1062 SDK, but still get the error. It will run the demo, but when I try to create or copy a new project I get this error.

Robert

0 项奖励
回复
3 回复数

1,250 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @robertmorrison,

I'm sorry but I am a bit confused by your issue. You say you can load and debug example codes to MCUXpresso, but you cannot create new projects? Copying the project and renaming the main folder will not work. To properly rename a project, you have to do it inside of MCUXpresso, by right clicking and choosing "rename". This option will not only rename the main folder, but also all of the references to the project's name.

That said, the fact that you cannot debug a new project is strange. Did you make sure to install the IDE with administrator permissions to ensure that all the necessary components and drivers were fully installed?

 

BR,

Edwin.

0 项奖励
回复

1,248 次查看
robertmorrison
Contributor II

Hello EdwinHz,

   Thank you for the quick reply. Yes, I already knew you cannot copy directories or otherwise manually try to clone a project. I followed the instructions in your mcuxpresso documentation, I selected the project to copy in the IDE navigator, did a clean, then clicked the menu item "copy", then clicked the menu item "paste". The IDE does a bunch of stuff without error and the new named project looks good. As your documentation states, I deleted the copied Launch configurations. I am able to build it without errors, but no matter what I do to create a Launch configuration, debug or release, I get this javascript null reference internal error.

I am running on Linux Mint, so it's not possible to install if I do not have administrator priviledges (it installs in /usr/local/mcuxpressoide/ide, a root owned directory). I have installed many revisions of mcuxpresso without problems on this machine (I am very experienced with this software, have created many previous projects with copy/paste, and have never run into this problem before).

Robert

0 项奖励
回复

1,224 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @robertmorrison,

 

I understand. Version 11.6.1 of MCUXpresso has just been released a couple of days ago and from the release notes I believe that the issue you are experiencing about copy-pasting projects has been fixed:

"Fixed: [Quick start panel] Copy-paste and multiple selection does not work for project properties."

Please try with the newest version of MCUXpresso and let me know if this helps.

 

BR,

Edwin.

0 项奖励
回复