[Mono-bugs] [Bug 645047] New: Invalid CS0584 error. Internal compiler error: Object reference not set to an instance of an object

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 8 12:44:04 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=645047

https://bugzilla.novell.com/show_bug.cgi?id=645047#c0


           Summary: Invalid CS0584 error. Internal compiler error: Object
                    reference not set to an instance of an object
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rootnode at mosa-project.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=393847)
 --> (http://bugzilla.novell.com/attachment.cgi?id=393847)
The code to reproduce the problem

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/7.0.536.2 Safari/534.10

After switching from mono 2.6.7 to mono 2.8 I can't compile my project anymore.
When trying to compile, gmcs gives the following error messages:



[csc] Compiling 89 files to 'Mosa/bin/Mosa.DeviceSystem.dll'.
[csc] Mosa/Source/DeviceSystem/InterruptManager.cs(91,56): error CS0584:
Internal compiler error: Object reference not set to an instance of an object
[csc] Mosa/Source/DeviceSystem/InterruptManager.cs(91,56): error CS0201: Only
assignment, call, increment, decrement, and new object expressions can be used
as a statement
[csc] Mosa/Source/DeviceSystem/MemoryResources.cs(83,47): error CS0584:
Internal compiler error: Object reference not set to an instance of an object
[csc] Mosa/Source/DeviceSystem/MemoryResources.cs(83,47): error CS0201: Only
assignment, call, increment, decrement, and new object expressions can be used
as a statement
[csc] Mosa/Source/DeviceSystem/NetworkDevicePacketBuffer.cs(118,47): error
CS0584: Internal compiler error: Object reference not set to an instance of an
object
[csc] Mosa/Source/DeviceSystem/NetworkDevicePacketBuffer.cs(118,47): error
CS0201: Only assignment, call, increment, decrement, and new object expressions
can be used as a statement
[csc] Mosa/Source/DeviceSystem/NetworkDevicePacketBuffer.cs(142,66): error
CS1061: Type `Mosa.ClassLib.LinkedList<byte[]>.LinkedListNode<byte[]>' does not
contain a definition for `value' and no extension method `value' of type
`Mosa.ClassLib.LinkedList<byte[]>.LinkedListNode<byte[]>' could be found (are
you missing a using directive or an assembly reference?)
[csc] Mosa/Source/DeviceSystem/NetworkDevicePacketBuffer.cs(201,74): error
CS1061: Type `Mosa.ClassLib.LinkedList<byte[]>.LinkedListNode<byte[]>' does not
contain a definition for `value' and no extension method `value' of type
`Mosa.ClassLib.LinkedList<byte[]>.LinkedListNode<byte[]>' could be found (are
you missing a using directive or an assembly reference?)
[csc] Compilation failed: 8 error(s), 0 warnings


When using 2.6.7 or csc, the error doesn't occur. I'd assume that this is a 2.8
specific problem

Reproducible: Always

Steps to Reproduce:
1. Go into Source/
2. Execute nant

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list