Now can't open workspace - CW10 on Win XP; (52259 tower, FWIW) crashed

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

Now can't open workspace - CW10 on Win XP; (52259 tower, FWIW) crashed

1,436 Views
dhlocker
Contributor III

CW10 crashed (hung for a long time (15 minutes or more; I stopped watching) after I selected "terminate and remove" during a debugging session, then existed no longer.)

 

Now, when I select that workspace, I get a Cwide popup with the message "An error has occurred.  See the log file <....\.metadata\.log>"  The .log file has two somewhat informative lines (almost all the rest are java stack trace messages)

 

Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/moo-m52259twr/twrmcf52259_Int_Flash_Debug/sources.mk' not found.

 

and


Root exception:
org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/moo-m52259twr/twrmcf52259_Int_Flash_Debug/sources.mk' not found.

 

Using my file browser, I have no trouble finding the sources.mk file in the specified location.  Any suggestions?

 

Regards,

Donald.

Labels (1)
0 Kudos
4 Replies

679 Views
dhlocker
Contributor III

Following up to my own post -

 

I did not figure out what was bad.  I renamed the old workspace, copied the contents to a new directory named the same as the old, removed the .metadata and started over again.  Now I can build and debug, but the old workspace is still very broken.

0 Kudos

679 Views
Teo
NXP Employee
NXP Employee
Deleting {workspace}/.metadata/.plugins/org.eclipse.core.resources/.snap should do the trick to recover the workspace Teo
0 Kudos

679 Views
MTaylor
Contributor I

Had same issue on Win 7 (32-bit) with CW 10.2 and the TWRK70.  The .log entry was a bit different - couldn't find ReferencedRSESystems.xml - even though it was where it should be in explorer.

 

Deleting the .snap file allowed me to start CW, but my CodeWarrior Projects tab was empty.  Is there a way to fix the error and not have to re-import all the projects?

0 Kudos

679 Views
J2MEJediMaster
Specialist I

I would start first by looking at this blog article by one of our FAEs. You may or may not want to follow the procedures it describes, but it does explain what is happening in the workspace when you use CodeWarrior v10.x.

 

I would start by first making a copy of the workspace directory. Then I would try dragging and dropping your project folder from the workspace folder into the CodeWarrior Projects view in Eclipse. That might get the IDE's attention. If that doesn't work, then I'd try some of the steps outlined in the blog article.

 

---Tom

0 Kudos