Error importing task?

I was running into that dialog while opening my S08 project:

Target Task Error

Target Task Error: “Error importing task.”

Hmm, that’s weird: the target task framework complains about a target task, but in my project I’m not using any target tasks?

As explained in Copy my Project, target tasks get automatically loaded from the debugger settings folder. But I do not have any target tasks defined for my project. I checked the Target Task view, and there was no target task listed neither.

Cleaning the project did not help. A new workspace did not help. So this is definitely something inside my project. So I started to cut out things, removed generated folders, imported the project again into the workspace, and voilà:

Target Task Error Message

Target Task Error Message

Ahhh! Now things are clear: my project is using doxygen to generate the documentation. And it used a True Time Font (*.ttf) file, and the target task framework somehow was thinking that it needs to load that file. And of course it failed because it was not something it expected. Removing that file and everything was OK again. Anyway it was a temporary file, so I did not need it in my project.

I wish the first dialog would name me the file which is guilty. And that the target task framework will not just load any *.ttf files. I passed the issue to the engineering team so they could address this. But in any case you run into the same problem, you have now a clue what the problem could be ;-).

Happy Target Tasking 🙂

1 thought on “Error importing task?

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.