flagflag  

スカルプ+メッシュの起動時エラー anchor.png

  • Regionサーバ起動時に,OpenSim/Region/Physics/Meshing/Meshmeriz​er.cs の PrimMesher.SculptMesh() が例外を起こす.
     
Page Top

エラーメッセージ anchor.png

Exception: System.Exception: Caught exception processing byte arrays in SculptMap(): e: System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
 at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 
 at System.Drawing.Bitmap.GetPixel (Int32 x, Int32 y) [0x00000] in <filename unknown>:0 
 at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:GetPixel (int,int)
 at PrimMesher.SculptMap..ctor (System.Drawing.Bitmap bm, Int32 lod) [0x00000] in <filename unknown>:0 
 at PrimMesher.SculptMap..ctor (System.Drawing.Bitmap bm, Int32 lod) [0x00000] in <filename unknown>:0 
 at PrimMesher.SculptMesh._SculptMesh (System.Drawing.Bitmap sculptBitmap, SculptType sculptType, Int32 lod, Boolean viewerMode, Boolean mirror, Boolean invert) [0x00000] in <filename unknown>:0 
 at PrimMesher.SculptMesh..ctor (System.Drawing.Bitmap sculptBitmap, SculptType sculptType, Int32 lod, Boolean viewerMode, Boolean mirror, Boolean invert) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Physics.Meshing.Meshmerizer.CreateMeshFromPrimMesher (System.String primName, OpenSim.Framework.PrimitiveBaseShape primShape, Vector3 size, Single lod) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Physics.Meshing.Meshmerizer.CreateMesh (System.String primName, OpenSim.Framework.PrimitiveBaseShape primShape, Vector3 size, Single lod, Boolean isPhysical) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Physics.OdePlugin.OdeScene.AddPrimShape (System.String primName, OpenSim.Framework.PrimitiveBaseShape pbs, Vector3 position, Vector3 size, Quaternion rotation, Boolean isPhysical) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.SceneObjectPart.ApplyPhysics (UInt32 rootObjectFlags, Boolean VolumeDetectActive, Boolean m_physicalPrim) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.SceneObjectGroup.ApplyPhysics (Boolean m_physicalPrim) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.SceneObjectGroup.AttachToScene (OpenSim.Region.Framework.Scenes.Scene scene) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.SceneGraph.AddSceneObject (OpenSim.Region.Framework.Scenes.SceneObjectGroup sceneObject, Boolean attachToBackup, Boolean sendClientUpdates) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.SceneGraph.AddRestoredSceneObject (OpenSim.Region.Framework.Scenes.SceneObjectGroup sceneObject, Boolean attachToBackup, Boolean alreadyPersisted) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.Scene.AddRestoredSceneObject (OpenSim.Region.Framework.Scenes.SceneObjectGroup sceneObject, Boolean attachToBackup, Boolean alreadyPersisted) [0x00000] in <filename unknown>:0 
 at OpenSim.Region.Framework.Scenes.Scene.LoadPrimsFromStorage (UUID regionID) [0x00000] in <filename unknown>:0 
 at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000] in <filename unknown>:0 
 at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000] in <filename unknown>:0 
 at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000] in <filename unknown>:0 
 at OpenSim.OpenSimBase.StartupSpecific () [0x00000] in <filename unknown>:0 
 at OpenSim.OpenSim.StartupSpecific () [0x00000] in <filename unknown>:0 
 at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000] in <filename unknown>:0 
 at OpenSim.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Application is terminating: True
Page Top

try catch anchor.png

  • OpenSim/Region/Physics/Meshing/Meshmeriz​er.cs
  • PrimMesher.SculptMesh()
-      sculptMesh = new PrimMesher.SculptMesh((Bitmap)idata, sculptType, (int)lod, false, mirror, invert);
+      try {
+          sculptMesh = new PrimMesher.SculptMesh((Bitmap)idata, sculptType, (int)lod, false, mirror, invert);
+      }
+      catch (Exception ex) {
+          m_log.Error("[PHYSICS]: PrimMesher.SculptMesh() is error. Message = " + ex.Message);
+          return null;
+      }

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1848, today: 1, yesterday: 1
Last-modified: 2010-05-23 (Sun) 21:31:58 (JST) (5085d) by admin

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

97 user(s) are online (5 user(s) are browsing xpwiki)

Members: 0
Guests: 97

more...

Access Counter

Today : 1182611826118261182611826
Yesterday : 9457945794579457
Total : 2333878323338783233387832333878323338783233387832333878323338783
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com