Page 1 of 1

internal error in latest cobra

PostPosted: Fri Dec 27, 2013 12:29 am
by kobi7
Hi Charles,
I was trying to revive/use an old project.
I use monodevelop, and the solution consists of two projects. One referring to the other.
when I add that (library) reference, cobra's compilation fails with
Error: error: COBRA INTERNAL ERROR / NullReferenceException / Object reference not set to an instance of an object (Generic_Project)

Can you help debug this project?
should I send a zip file of the files in their current state?

Thanks, kobi

Re: internal error in latest cobra

PostPosted: Fri Dec 27, 2013 1:22 pm
by Charles
Yeah I definitely want to take a look. You can post the files somewhere like a public Dropbox or anywhere else that's accessible.

Re: internal error in latest cobra

PostPosted: Sat Dec 28, 2013 10:26 pm
by kobi7
Hi Charles
a compressed file is in:
http://www.wuala.com/temperate/ForCharles/

what I did:

/media/kobi/1846-45EF/work/variant_mvc/Generic_Project$ cobra -target:lib *.cobra -ref:../variantMVC/bin/Debug/variantMVC.dll
error: COBRA INTERNAL ERROR / NullReferenceException / Object reference not set to an instance of an object
Compilation failed - 1 error, 0 warnings

(the same happens with referencing a project, not a dll, from within monodevelop.)

with verbose 2,3 I see that it fails in: Binding Implementation Phase
with verbose 4, I don't understand what's going on ... :-]

if it matters, this is on linux Lubuntu.
hope this helps and you can reproduce the problem.
kobi

Re: internal error in latest cobra

PostPosted: Sun Dec 29, 2013 12:26 am
by Charles
I have a fix coming.

Re: internal error in latest cobra

PostPosted: Sun Dec 29, 2013 12:45 am
by Charles
Fixed in the repository.

Re: internal error in latest cobra

PostPosted: Sun Dec 29, 2013 11:13 pm
by kobi7
Thanks for the quick response and fix!
confirming that it's working now.