# DS3: Error Creating Project

**URL:** <https://forum.legato.io/t/ds3-error-creating-project/30>\
**Category:** Legato Application Framework\
**Created:** [March 14, 2014, 12:07am UTC](https://forum.legato.io/t/ds3-error-creating-project/30 "2014-03-14T00:07:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 14, 2014, 12:07am UTC](https://forum.legato.io/t/ds3-error-creating-project/30/1 "2014-03-14T00:07:58Z")

</div>

Hiya.

This one is probably for daav.

I’m porting some software to the Legato. Some of the software is built as a static library (for a number of reasons).

If I try to create a ‘New C++ project’ of type ‘Static Library’ (or Dynamic Library for that matter) using the ‘Legato Linux GCC’ toolchain, the wizard pops up an ‘Project cannot be created error’ box with a java.lang.NullPointerException message and the creation fails.

However, if I create a standard C++ project an then change the properties to be a static library, all is good.

Have you seen this? Can you reproduce this? Is this a SiWi problem, or a upstream CDT/Eclipse problem?

ciao, Dave

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/daav/32/64_2.png) [@daav](https://forum.legato.io/u/daav)\
**Post date:** [March 14, 2014, 7:52am UTC](https://forum.legato.io/t/ds3-error-creating-project/30/2 "2014-03-14T07:52:43Z")

</div>

> [@davidc](#):
>
> Have you seen this? Can you reproduce this? Is this a SiWi problem, or a upstream CDT/Eclipse problem?

Just made the test, and reproducing it here…  
This one is on our side; fortunately you have a workaround for it, but as soon as we have a fix, I’ll push a patch here.

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 14, 2014, 9:50am UTC](https://forum.legato.io/t/ds3-error-creating-project/30/3 "2014-03-14T09:50:53Z")

</div>

Hi Daav,

Good to hear that you can reproduce the issue, and are able to fix it down the track.

Thanks for looking into it.

Ciao, Dave

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/daav/32/64_2.png) [@daav](https://forum.legato.io/u/daav)\
**Post date:** [March 19, 2014, 2:34pm UTC](https://forum.legato.io/t/ds3-error-creating-project/30/4 "2014-03-19T14:34:59Z")

</div>

Hi,

We’ve released a patch to fix this problem.  
Install instructions:  
[ul]  
[li] Go to Help \> Install New Software…[/li]  
[li] Click the Add… button, and add the [b][http://updatesite.sierrawireless.com/developerStudio3/patches[/b]](http://updatesite.sierrawireless.com/developerStudio3/patches%5B/b%5D) URL[/li]  
[li] Uncheck the Group items by category checkbox[/li]  
[li] Select the C/C++ project management patch item in the list[/li]  
[li] Click Finish and follow the steps[/li]  
[li] Restart DS when required[/li][/ul]

After that you should be able to create library projects with the Legato Linux toolchain.

Note: this patch will have to be uninstalled if you upgrade your DS install later.

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 19, 2014, 10:17pm UTC](https://forum.legato.io/t/ds3-error-creating-project/30/5 "2014-03-19T22:17:24Z")

</div>

Thanks daav,

I’ll give it a go and let you know how I get on.

ciao, Dave

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/daav/32/64_2.png) [@daav](https://forum.legato.io/u/daav)\
**Post date:** [August 25, 2014, 7:11am UTC](https://forum.legato.io/t/ds3-error-creating-project/30/6 "2014-08-25T07:11:43Z")

</div>

Please note this bug has been fixed in DS 3.1 (cf [viewtopic.php?f=177&t=8104](https://forum.sierrawireless.com/viewtopic.php?f=177&t=8104))
