WhiteCoreSim / WhiteCore-Dev

WhiteCoreSim - Software to create your own virtual world
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

Issue with DotNetEngine #226

Closed WhiteCoreWebUI closed 7 years ago

WhiteCoreWebUI commented 8 years ago

Steps to reproduce

  1. Load oar Retreat minethere OAR1_001.oar from http://www.outworldz.com/cgi/freesculpts.plx?q=OAR-
  2. Click the Land Radio 3.

    Expected behaviour

llDialog Should open

Actual behaviour

Script Warning/Error console opens with this: land radio: Error executing script: System.NullReferenceException: Object reference not set to an instance of an object at WhiteCore.Framework.Services.UserAccount.get_FirstName () <0x4134ad80 + 0x00049> in :0 at WhiteCore.Modules.Chat.DialogModule.SendDialogToUser (UUID avatarID, System.String objectName, UUID objectID, UUID ownerID, System.String message, UUID textureID, Int32 ch, System.String[] buttonlabels) <0x4134aa50 + 0x000f3> in :0 at WhiteCore.ScriptEngine.DotNetEngine.APIs.LSL_Api.llDialog (System.String avatar, System.String message, WhiteCore.ScriptEngine.DotNetEngine.list buttons, Int32 chat_channel) <0x4134a530 + 0x00483> in :0 at (wrapper remoting-invoke-with-check) WhiteCore.ScriptEngine.DotNetEngine.APIs.LSL_Api:llDialog (string,string,WhiteCore.ScriptEngine.DotNetEngine.LSL_Types/list,int) at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerSer

Server configuration

Operating system: Debian 8.4

Web server: Apache 2.4

Database: MariaDB

WhiteCore version: Latest RC2

Logs

Please make sure that WhiteCore has made an log-file and include a link to it here

greythane commented 7 years ago

Check this issue on a newly created instance with specified OAR. Single region, New user and estate >> All objects owned by this user

Retried with new region assigned to the Real Estate Owner >> all objects owned by Real Estate Owner

Verified operational in both Grid and Standalone mode - No problems found.

fly-man- commented 7 years ago

Looking at the error code from the log you posted, that's a call to the UserService, nothing to do with the DotNet engine.

fine77 commented 7 years ago

i'll improve the DotNet Engine a little bit. but first i need to reintegrate the bulletsim again. The error means, that the Process can not lookup the username. i think its an old styled code here.

emperorstarfinder commented 7 years ago

This bug actually means that user cannot be found in the database itself (land radio: Error executing script: System.NullReferenceException: Object reference not set to an instance of an object).

the object in this error is the user's name which it couldn't find in the database itself, thus it throws this error. Some IARS unfortunately this may or may not be a problem. However I have tested the IAR locally both in Standalone and Grid Mode and this appears to be working correctly.

It is very much likely this is a non code bug and just an issue with the database. Therefore this is why the error came up and is not related to DNE itself.

greythane commented 7 years ago

Closing this as not further reports have been received. Testing using the specified Oar & script on a new instance did not show any errors.