Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline jxjl  
#1 Posted : 15 October 2012 00:40:34(UTC)
jxjl

Rank: Newbie

Groups: Registered
Joined: 15/10/2012(UTC)
Posts: 1

When I try to save document with plot, SMath crashes and I get

$ mono SMathStudio_Desktop.exe

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at SMath.Control.PlotRegion.ToXml (System.Xml.XmlTextWriter writer, SMath.Control.FileParsingContext parsingContext) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at SMath.Control.PlotRegion.ToXml (System.Xml.XmlTextWriter writer, SMath.Control.FileParsingContext parsingContext) [0x00000] in <filename unknown>:0

OS: Ubuntu 12.04 64 bit
Mono:
Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline flcs  
#2 Posted : 19 January 2013 16:40:03(UTC)
flcs

Rank: Newbie

Groups: Registered
Joined: 11/01/2013(UTC)
Posts: 1
Man
Brazil
Location: Campos dos Goytacazes, RJ

Did you received some help from forum?
I have the same situation here (same OS, version, bits, mono) and exactally the same error.
I just opened the beam example and tried to save it with another name.
Looking for the diff between the files, my is broken in the middle, have different xml patterns, like missing slashes, but still valid.
The saved file is pretty similar to original example file until line 1017, where the new one is broken.

flcs@flcs-desktop:~/SMath$ mono SMathStudio_Desktop.exe

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at SMath.Control.PlotRegion.ToXml (System.Xml.XmlTextWriter writer, SMath.Control.FileParsingContext parsingContext) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at SMath.Control.PlotRegion.ToXml (System.Xml.XmlTextWriter writer, SMath.Control.FileParsingContext parsingContext) [0x00000] in <filename unknown>:0

I'd like to read or debug the source code try finding out where it's bugged.
It seems like persistence of objects to xml is the problem.
Some new structure created at PlotRegion objects design (in source code).
Maybe an inconsistent pattern or relation between objects, I suppose.

But your post was 3 months ago with no answer.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.