Uploaded image for project: 'Alchemy Viewer'
  1. ALCH-575

Script edit/save fails with Alchemy Viewer x64 then triggers CAPS error on Opensim console

    Details

    • Environment:
      Hide
      Alchemy 5.0.6 (41161) (x64) Jul 24 2017 14:09:57 (Alchemy Release)
      Release Notes

      You are at 619.0, 366.0, 24.7 in IMA Outpost Alpha located at (209.250.6.38:9051)
      SLURL: x-grid-info://hypergrid.org:8002/region/IMA%20Outpost%20Alpha/107/878/25
      (global coordinates 958,571.0, 958,318.0, 24.7)
      OpenSim 0.8.3.0 Dev PLUS Metropolis Edition [018] (Win/.NET)
      Error fetching server release notes URL.

      CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz (2394.44 MHz)
      Memory: 8104 MB
      OS Version: Microsoft Windows 10 64-bit (Build 15063)
      Graphics Card Vendor: Intel
      Graphics Card: Intel(R) HD Graphics 4400

      OpenGL Version: 4.3.0 - Build 20.19.15.4642

      Window size: 3200x1644
      Font Size Adjustment: 96pt
      UI Scaling: 2.5
      Draw distance: 512m
      Bandwidth: 600kbit/s
      LOD factor: 1.125
      Render quality: 3 / 7
      Advanced Lighting Model: Disabled
      Texture memory: 2048MB
      VFS (cache) creation time: March 11 2016 22:27:10
      HTTP Pipelining: Disabled

      libcurl Version: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 WinIDN
      J2C Decoder Version: OpenJPEG: 1.5.1, Runtime: 1.5.1
      Audio Driver Version: FMOD Studio 1.09.05
      Font Renderer: FreeType 2.7.1
      LLCEFLib/CEF Version: 1.6.0-(CEF-WIN-3.3071.1640.g1ebbf3c)
      LibVLC Version: 2.2.4
      Voice Server Version: Vivox 4.6.0017.22050

      Built with MSVC version 191025019
      Packets Lost: 15/4,042 (0.4%)
      August 31 2017 20:49:29
      Show
      Alchemy 5.0.6 (41161) (x64) Jul 24 2017 14:09:57 (Alchemy Release) Release Notes You are at 619.0, 366.0, 24.7 in IMA Outpost Alpha located at (209.250.6.38:9051) SLURL: x-grid-info://hypergrid.org:8002/region/IMA%20Outpost%20Alpha/107/878/25 (global coordinates 958,571.0, 958,318.0, 24.7) OpenSim 0.8.3.0 Dev PLUS Metropolis Edition [018] (Win/.NET) Error fetching server release notes URL. CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz (2394.44 MHz) Memory: 8104 MB OS Version: Microsoft Windows 10 64-bit (Build 15063) Graphics Card Vendor: Intel Graphics Card: Intel(R) HD Graphics 4400 OpenGL Version: 4.3.0 - Build 20.19.15.4642 Window size: 3200x1644 Font Size Adjustment: 96pt UI Scaling: 2.5 Draw distance: 512m Bandwidth: 600kbit/s LOD factor: 1.125 Render quality: 3 / 7 Advanced Lighting Model: Disabled Texture memory: 2048MB VFS (cache) creation time: March 11 2016 22:27:10 HTTP Pipelining: Disabled libcurl Version: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 WinIDN J2C Decoder Version: OpenJPEG: 1.5.1, Runtime: 1.5.1 Audio Driver Version: FMOD Studio 1.09.05 Font Renderer: FreeType 2.7.1 LLCEFLib/CEF Version: 1.6.0-(CEF-WIN-3.3071.1640.g1ebbf3c) LibVLC Version: 2.2.4 Voice Server Version: Vivox 4.6.0017.22050 Built with MSVC version 191025019 Packets Lost: 15/4,042 (0.4%) August 31 2017 20:49:29
    • Sprint:

      Description

      New script creation succeeds but edit/save fails then results in CAPS error.

      Steps to duplicate:

      Login with Alchemy 4.0.0 Alchemy 4.0.0 (37374) (x64)
      Rez a Box
      Create new script in the Box Content tab
      Highlight all, copy the following script, then save

      default
      {
      state_entry()

      { string CommandList = ""; // Storage for our drawing commands  CommandList = osMovePen( CommandList, 10, 10 ); // Upper left corner at <10,10> CommandList = osDrawText( CommandList, "Hello, World!" ); // Place some text  // Now draw the image osSetDynamicTextureData( "", "vector", CommandList, "width:256,height:256", 0 ); }

      }

      Close edit window
      Open edit window
      Examine script contents
      Confirm script save is completed successfully
      Observe Open Simulator console to confirm no error occurred

      Login with Alchemy 5.0.6 (41161) (x64)
      Rez a Box
      Create new script Box Content
      Highlight all, copy the following script, then save

      default
      {
      state_entry()

      { string CommandList = ""; // Storage for our drawing commands  CommandList = osMovePen( CommandList, 10, 10 ); // Upper left corner at <10,10> CommandList = osDrawText( CommandList, "Hello, World!" ); // Place some text  // Now draw the image osSetDynamicTextureData( "", "vector", CommandList, "width:256,height:256", 0 ); }

      }

      Close edit window
      Open edit window
      Examine script contents
      Confirm default script is still present and save was not successful
      Observe Open Simulator console to confirm error below

      Results on Open Simulator console unique to Alchemy 5.0.6 (41161) (x64):

      2017-08-31 20:49:03,301 ERROR - OpenSim.Region.ClientStack.Linden.BunchOfCaps CAPS: System.ArgumentException: Object of type 'System.Boolean' cannot be converted to type 'System.Int32'.
      at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
      at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
      at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, StackCrawlMark& stackMark)
      at System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
      at OpenSim.Framework.Capabilities.LLSDHelpers.DeserialiseOSDMap(Hashtable llsd, Object obj)
      at OpenSim.Region.ClientStack.Linden.BunchOfCaps.ScriptTaskInventory(String request, String path, String param, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
      2017-08-31 20:49:03,301 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer BASE HTTP SERVER: HandleRequest() threw exception
      System.ArgumentNullException: String reference not set to an instance of a String.
      Parameter name: s
      at System.Text.Encoding.GetBytes(String s)
      at OpenSim.Framework.Servers.HttpServer.BaseStreamHandler.Handle(String path, Stream request, IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
      at OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest(OSHttpRequest request, OSHttpResponse response)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lisa.a.laxton Lisa L
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?