• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1349
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Ochi Wolfe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Mono beta: System.NullReferenceException with certain constellation

Created: 30/Jan/08 07:36 AM   Updated: 16/Sep/08 01:52 PM
Return to search
Component/s: Scripts
Affects Version/s: Mono Beta
Fix Version/s: None

File Attachments: 1. Text File Gradient.txt (2 kB)
2. Text File NullReferenceException.txt (0.2 kB)

Environment:
Second Life 1.18.6 (77968) Jan 29 2008 11:48:51 (Second Life Release)

You are at 255646.3, 255240.5, 21.0 in Sandbox Goguen MONO located at sim3000.aditi.lindenlab.com (8.2.33.226:13005)
Mono 1.18.6.77968

CPU: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Memory: 3290 MB
OS Version: Linux 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GTS/PCI/SSE2
OpenGL Version: 2.1.1 NVIDIA 100.14.19
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 17/15475 (0.1%)
Viewer Digest: 330da4af-15ff-65a2-22dc-47907679cd20
Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
  • Repro: Put the attached script inside a prim and compile as a Mono script. I can't explain yet why it happens with this constellation but if, for example, the (unused) variable "intTest" is assigned a constant value, the exception is not thrown.
  • Observed: A script error with output similar to this:

System.NullReferenceException: Object reference not set to an instance of an object
at LSL_c2064255_b1ae_7db3_2e38_9caf1fbaf642.defaultstate_entry () [0x00000]
at LSL_c2064255_b1ae_7db3_2e38_9caf1fbaf642defaultstate_entryFrame.ResumeVoid () [0x00000]
at LindenLab.SecondLife.UThread.UThread.Run () [0x00000]
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]

  • Expected: No script error.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Zak Escher added a comment - 30/Jan/08 01:41 PM - edited
Here is a more complicated script that produces the same error:

Object: Script run-time error
[13:37] Object: System.NullReferenceException: Object reference not set to an instance of an object
at LSL_c537ce19_f8fe_08c9_c2a1_488a30f47cd6.defaulttimer () [0x00000]
at LSL_c537ce19_f8fe_08c9_c2a1_488a30f47cd6defaulttimerFrame.ResumeVoid () [0x00000]
at LindenLab.SecondLife.UThread.UThread.Run () [0x00000]
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]


Cheiron Cazalet added a comment - 01/Sep/08 01:17 PM - edited
Script run-time error
System.NullReferenceException: Object reference not set to an instance of an object
at LindenLab.SecondLife.LslUserScript.OnEvent (ScriptEvent evt) [0x00000]
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]

01/Sep/08 [12:58] Grid: Agni


Ochi Wolfe added a comment - 01/Sep/08 01:31 PM
Can't reproduce with either script attached to this issue on server 1.24.3.95195 using client 1.21.0 (95157).

Cheiron, can you please attach the script that is causing the error?


Periapse Linden added a comment - 15/Sep/08 04:00 PM
No new info from Cheiron.

Ochi says it can't be reproduced.

I'm going to resolve this again.

Note: What Cheiron saw may one of the manifold hydra heads of the evil SVC-2908. I'll link that issue here