<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: Error importing task</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165815#M4850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;could you check if you have a 'Execute Tasks' set in your debug/launch configuration?&lt;/P&gt;&lt;P&gt;Run &amp;gt; Debug Configurations &amp;gt; &amp;lt;your configuration&amp;gt; &amp;gt;Debugger &amp;gt; Download tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, if you can, post your project here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 16:52:17 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2012-05-23T16:52:17Z</dc:date>
    <item>
      <title>Error importing task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165814#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HC9S08LG32, CW 10.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied my working SM6.1project to IICEX8, I gave it new source files, including MCU_init.c, and changed that header to &amp;lt;hc9S08LG32.h&amp;gt; &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;.&amp;nbsp; The project compiles beautifully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to flash I get the the little window people have complained about before:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Target Task Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error importing task&lt;/P&gt;&lt;P&gt;I haven't a clue. I've done a lot of searching for it and I tried everything suggested in&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.wordpress.com%2F2012%2F03%2F23%2Ferror-importing-task%2F" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/03/23/error-importing-task/&lt;/A&gt; and the related&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.wordpress.com%2F2012%2F03%2F17%2Fcopy-my-project%2F" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/03/17/copy-my-project/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't seem to have any .ttf files at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My flash configuration is:&lt;/P&gt;&lt;P&gt;Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM6.1_MC9S08LG32_PnE U-MultiLink&lt;/P&gt;&lt;P&gt;Target:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SM6.1_MC9S08LG32_PnE U-MultiLink Target&lt;/P&gt;&lt;P&gt;Connection Type:&amp;nbsp;&amp;nbsp; P&amp;amp;E HS08 Multilink\Multilink Universal\Cyclone Pro\OSBDM&lt;/P&gt;&lt;P&gt;File:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${workspace_loc:/IICEX8/MC9S08LG32/SM6.1.abs}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried changing every occurrence and name of SM6.1 to IICEX8 or whatever number I was at, to no avail. Note that I am up to version 8 on my retries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be very appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Cab-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 16:02:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165814#M4849</guid>
      <dc:creator>cab</dc:creator>
      <dc:date>2012-05-23T16:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error importing task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165815#M4850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;could you check if you have a 'Execute Tasks' set in your debug/launch configuration?&lt;/P&gt;&lt;P&gt;Run &amp;gt; Debug Configurations &amp;gt; &amp;lt;your configuration&amp;gt; &amp;gt;Debugger &amp;gt; Download tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, if you can, post your project here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 16:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165815#M4850</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-05-23T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error importing task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165816#M4851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a task:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[x] Execute Tasks&lt;/P&gt;&lt;P&gt;${ProjDirPath}/Project_Settings/Debugger/MC9S08LG32.tcl [Debugger shell script] [x] First [x] Subsequent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I unchecked Execute Tasks, but that did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw that the problem also affected my original SM6.1 project which I had not had problems with before--even that project could no longer be flashed.&amp;nbsp; so I reinstalled Code Warrior 10.2 (I haven't gotten to update 1.0.0.0 yet)--and that seemed to work.&amp;nbsp; I got the executable IICEX8 (a copy of SM6.1 with modified sources) flashed. But then I copied that project to another: IICEX8_SLV, modified sources and built it--the error has returned.&amp;nbsp; However, in the interim I was getting java.lang.NullPointerException sometimes when I click on the Flashbutton--sometimes when opening CodeWarrior.&amp;nbsp; I don't recall how I recovered--I openedand closed CW a few times.&amp;nbsp; Anyway, no more NPE's but I have the "Error importing task" if I try to flash -any-&amp;nbsp; task.&amp;nbsp; Thinking it might be workspace related I tried removing.metadata, it created a new one, but I had no projects when opening my workspace, so I am back to the old .metadata.&amp;nbsp; There may be a way of regenerating a corrupt .metadata,but I don't know what it is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the NPE--looking at my .log I see&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;ENTRY org.eclipse.debug.core 4 2 2012-05-23 13:33:36.290&lt;BR /&gt;!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.debug.core".&lt;BR /&gt;!STACK 0&lt;BR /&gt;java.lang.ClassCastException: com.freescale.cdt.debug.cw.core.LaunchConfigurationWorkingCopyNonSaveable cannot be cast to org.eclipse.debug.internal.core.LaunchConfiguration&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.eclipse.debug.internal.core.LaunchConfiguration.equals(LaunchConfiguration.java:318)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.launchConfigurationRemoved(AbstractSourceLookupDirector.java:364)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I can try now is download CW again.&amp;nbsp; Maybe you have to do that as part of the copy-task procedure--I wouldn't be too surprised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply BK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 06:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165816#M4851</guid>
      <dc:creator>cab</dc:creator>
      <dc:date>2012-05-24T06:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error importing task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165817#M4852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The 'task' MC9S08LG32.tcl is just an init script, so not our problem.&lt;/P&gt;&lt;P&gt;But your reply let me think that the target tasks inside the 'framework' (which is in the .metadata) could be corrupted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I would try:&lt;/P&gt;&lt;P&gt;- create a new workspace&lt;/P&gt;&lt;P&gt;- copy your project into that new workspace and import it into it (e.g. drag&amp;amp;drop the project folder into the CodeWarrior Projects view, or use File &amp;gt; Import &amp;gt; Existing projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way only your project files will get copied. I *think* you might get rid of your problem that way. Otherwise you still might have a *.ttf file in your project (but you already have checked this).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About how to copy the workspace settings: You can export/import your current workspace settings (version control information, editor settings, etc) into an XML file. About how to transfer workspace settings to another one, see &lt;A href="http://mcuoneclipse.wordpress.com/2012/04/04/copy-my-workspace-settings/" rel="nofollow" target="_blank"&gt;http://mcuoneclipse.wordpress.com/2012/04/04/copy-my-workspace-settings/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 12:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165817#M4852</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2012-05-24T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error importing task</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165818#M4853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sticking with me, BK.&amp;nbsp; I have seen some serious issues with the NPE--for example MC9S08LG32.xml in C:\Freescale\CW MCU v10.2\MCU\bin\plugins\support\TargetTask\Flash_Programmer gets truncated to zero length (several times).&amp;nbsp; Then if I do 'Flash-&amp;gt;Import Task' and select that (without noticing the length) I get a series of NPE's.&amp;nbsp; Which may kinda be the 'error importing task' but I wouldn't know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I was about to post the very question you just answered--take all my projects in workspace100, hopefully I can just bring over the source files but that doesn't seem easy--If I do 'import makefile project with existing code' its rather inflexible, other ways just give me the project with no processor-environment.&amp;nbsp; I think the barebones one starts a new project with a selected MCU, but then I have to browse for source-files one-by-one.&amp;nbsp; But I can fool it--right? Just copy a directory of files into my project in the C/C++ perspective.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the wordpress -copy-my-project article, but not copy-my-settings (nice guy that Erich Styger).&amp;nbsp; But I want to go barebones--I don't really have any special settings at this point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get an NPE on most anything I click, but the first one came -very-soon- after re-installing CW10.2 (by the way I have Win7x64).&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I was about to make an NPE post and file a bug, but I'll try to move to another workspace first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-importing-task/m-p/165818#M4853</guid>
      <dc:creator>cab</dc:creator>
      <dc:date>2012-05-24T13:47:10Z</dc:date>
    </item>
  </channel>
</rss>

