[RELEASE] Scraper Editor (Based on ScraperXML open source C# Library) - Help wanted!
The program crashes for me when trying to run just the selected function.
Noticed it happening when just playing around with the program, so nothing is added. Empty scraper, just started the program.

Steps to reproduce:
1. Start program, add a function
2. Hit tester tab, select added function
3. Hit "Run selected function"

Error code (in swedish, do you need it translated?):
Code:
************** Undantagstext **************
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
   vid ScraperXMLEditor.MainForm.ReplaceBuffers(String strReplace)
   vid ScraperXMLEditor.MainForm.ExpressionCompile(ScraperRegExp sreToProcess)
   vid ScraperXMLEditor.MainForm.ExecuteItem(ScraperRegExp sreToExecute)
   vid ScraperXMLEditor.MainForm.FunctionTimer_Tick(Object sender, EventArgs e)
   vid System.Windows.Forms.Timer.OnTick(EventArgs e)
   vid System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
scraperxmled
    Sammansättningsversion: 3.6.0.0
    Win32-version: 3.6.0.0
    CodeBase: file:///D:/Documents%20and%20Settings/Administrator/Skrivbord/scraperxmleditor/scraperxmled.exe
----------------------------------------
System.Windows.Forms
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml.Linq
    Sammansättningsversion: 3.5.0.0
    Win32-version: 3.5.30729.1 built by: SP
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Core
    Sammansättningsversion: 3.5.0.0
    Win32-version: 3.5.30729.1 built by: SP
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TechNuts
    Sammansättningsversion: 5.0.0.0
    Win32-version: 5.0.0
    CodeBase: file:///D:/Documents%20and%20Settings/Administrator/Skrivbord/scraperxmleditor/TechNuts.DLL
----------------------------------------
System.Windows.Forms.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

The first line of this error:
Quote:System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
tells me, in english, "The object reference has not been assigned an instance of an object"

There was another crash when opening another scraper that I thought I'd look at for reference, specifically The imdb scraper from svn.
Then I got this error, just by opening it:
Code:
************** Undantagstext **************
System.FormatException: Indatasträngen hade ett felaktigt format.
   vid System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   vid System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   vid System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
   vid TechNuts.ScraperLib.Scraper.Deserialize(XElement element)
   vid TechNuts.ScraperLib.Scraper.Load(String XmlPath)
   vid TechNuts.ScraperLib.Scraper..ctor(String xmlFilePath)
   vid ScraperXMLEditor.MainForm.LoadScraper(String xmlFilePath)
   vid ScraperXMLEditor.MainForm.Open_Click(Object sender, EventArgs e)
   vid System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   vid System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   vid System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   vid System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   vid System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   vid System.Windows.Forms.ToolStrip.WndProc(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
scraperxmled
    Sammansättningsversion: 3.6.0.0
    Win32-version: 3.6.0.0
    CodeBase: file:///D:/Documents%20and%20Settings/Administrator/Skrivbord/scraperxmleditor/scraperxmled.exe
----------------------------------------
System.Windows.Forms
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml.Linq
    Sammansättningsversion: 3.5.0.0
    Win32-version: 3.5.30729.1 built by: SP
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Core
    Sammansättningsversion: 3.5.0.0
    Win32-version: 3.5.30729.1 built by: SP
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TechNuts
    Sammansättningsversion: 5.0.0.0
    Win32-version: 5.0.0
    CodeBase: file:///D:/Documents%20and%20Settings/Administrator/Skrivbord/scraperxmleditor/TechNuts.DLL
----------------------------------------
System.Windows.Forms.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

The first line of this error:
Quote:System.FormatException: Indatasträngen hade ett felaktigt format.
tells me, in english, "The input string had the wrong format." - but the input file was named imdb.xml and was a plain text file. Creating my own scraper, saving it as something.xml and then opening something.xml works fine. So perhaps opening something that wasn't made in the program doesn't work?

Tell me if you need any other info, system specs etc.

Great program otherwise, tried creating a scraper and it made the process alot easier!
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average


Messages In This Thread
[No subject] - by spiff - 2009-06-16, 00:14
[No subject] - by DonJ - 2009-06-16, 00:46
[No subject] - by zag - 2009-06-16, 10:13
[No subject] - by Nicezia - 2009-06-17, 00:38
[No subject] - by C-Quel - 2009-06-17, 00:45
Nice Nicezia! - by Gamester17 - 2009-06-17, 12:11
[No subject] - by DonJ - 2009-06-17, 12:38
[No subject] - by Nicezia - 2009-06-18, 18:10
[No subject] - by Nicezia - 2009-06-20, 21:28
[No subject] - by DonJ - 2009-06-21, 13:40
[No subject] - by Nicezia - 2009-06-23, 00:34
[No subject] - by Nicezia - 2009-06-27, 23:46
[No subject] - by Eso Rimmer - 2009-07-18, 09:02
[No subject] - by Nicezia - 2009-07-18, 17:34
[No subject] - by Daniel Malmgren - 2009-07-20, 19:03
[No subject] - by Nicezia - 2009-07-21, 21:24
[No subject] - by spiff - 2009-07-28, 00:43
[No subject] - by spiff - 2009-07-28, 01:24
[No subject] - by Nicezia - 2009-07-28, 02:20
[No subject] - by spiff - 2009-07-28, 09:29
[No subject] - by spiff - 2009-07-28, 23:45
[No subject] - by Nicezia - 2009-07-29, 03:20
[No subject] - by Nicezia - 2009-08-04, 04:25
[No subject] - by seedzero - 2009-08-04, 04:38
[No subject] - by Nicezia - 2009-08-04, 05:19
[No subject] - by seedzero - 2009-08-04, 06:47
[No subject] - by spiff - 2009-08-04, 09:40
[No subject] - by seedzero - 2009-08-04, 09:58
[No subject] - by Nicezia - 2009-08-04, 10:20
[No subject] - by spiff - 2009-08-04, 10:33
[No subject] - by Nicezia - 2009-08-04, 12:45
[No subject] - by spiff - 2009-08-04, 12:49
[No subject] - by seedzero - 2009-08-04, 22:58
[No subject] - by spiff - 2009-08-04, 23:03
[No subject] - by Daniel Malmgren - 2009-08-12, 18:56
[No subject] - by Nicezia - 2009-08-12, 21:20
[No subject] - by Daniel Malmgren - 2009-08-12, 21:41
[No subject] - by Nicezia - 2009-08-12, 23:17
[No subject] - by Daniel Malmgren - 2009-08-13, 07:46
[No subject] - by flobbes - 2009-08-28, 09:46
[No subject] - by Daniel Malmgren - 2009-08-28, 19:09
[No subject] - by flobbes - 2009-08-28, 20:16
[No subject] - by Nicezia - 2009-08-29, 04:56
[No subject] - by jurr - 2009-09-07, 13:29
[No subject] - by Nicezia - 2009-09-07, 20:14
[No subject] - by Nicezia - 2009-09-07, 20:17
[No subject] - by Daniel Malmgren - 2009-09-27, 12:41
[No subject] - by Nicezia - 2009-10-06, 00:19
version 3.5 Release - by Nicezia - 2009-10-11, 11:38
[No subject] - by Daniel Malmgren - 2009-10-11, 16:26
[No subject] - by Nicezia - 2009-10-12, 03:27
[No subject] - by Daniel Malmgren - 2009-10-12, 19:28
[No subject] - by Nicezia - 2009-10-13, 19:38
[No subject] - by flobbes - 2009-10-16, 18:57
[No subject] - by seedzero - 2009-10-16, 19:03
[No subject] - by fekker - 2009-10-17, 01:56
[No subject] - by seedzero - 2009-10-17, 02:22
[No subject] - by seedzero - 2009-10-17, 13:16
[No subject] - by KoTiX - 2009-10-17, 19:55
[No subject] - by fekker - 2009-10-17, 19:56
[No subject] - by SantaFox - 2009-10-20, 14:34
[No subject] - by Nicezia - 2009-10-24, 00:13
[No subject] - by flobbes - 2009-10-28, 13:28
[No subject] - by Nicezia - 2009-10-28, 16:41
[No subject] - by Nicezia - 2009-10-28, 16:42
[No subject] - by flobbes - 2009-10-28, 17:05
[No subject] - by Nicezia - 2009-10-28, 17:08
[No subject] - by Nicezia - 2009-10-28, 17:10
[No subject] - by KoTiX - 2009-10-29, 00:03
[No subject] - by Nicezia - 2009-10-31, 03:42
[No subject] - by KoTiX - 2009-10-31, 10:04
[No subject] - by Nicezia - 2009-10-31, 17:23
[No subject] - by KoTiX - 2009-10-31, 17:35
[No subject] - by Nicezia - 2009-10-31, 19:10
allmusic.xml - by michael1t - 2009-11-05, 17:54
[No subject] - by Nicezia - 2009-11-05, 20:37
New Version Soon! - by Nicezia - 2009-12-20, 03:29
[No subject] - by MukiDA - 2009-12-20, 07:26
[No subject] - by MukiDA - 2009-12-23, 00:40
[No subject] - by Nicezia - 2009-12-23, 02:03
No Editor source in SVN? - by hojel - 2009-12-24, 08:00
[No subject] - by Nicezia - 2009-12-24, 11:26
[No subject] - by hojel - 2009-12-24, 13:02
[No subject] - by MukiDA - 2009-12-24, 15:20
[No subject] - by hojel - 2009-12-24, 23:25
[No subject] - by Nicezia - 2009-12-25, 01:29
[No subject] - by DuMbGuM - 2009-12-29, 06:07
[No subject] - by Nicezia - 2009-12-29, 22:31
[No subject] - by DuMbGuM - 2009-12-30, 01:45
[No subject] - by wikid - 2010-01-05, 19:34
[No subject] - by flobbes - 2010-01-27, 14:32
[No subject] - by Nicezia - 2010-01-28, 18:58
[No subject] - by flobbes - 2010-01-28, 20:39
[No subject] - by Nicezia - 2010-01-28, 23:51
[No subject] - by flobbes - 2010-01-29, 01:10
[No subject] - by Nicezia - 2010-01-29, 03:48
[No subject] - by Nicezia - 2010-01-29, 05:52
[No subject] - by flobbes - 2010-01-29, 13:00
[No subject] - by Nicezia - 2010-01-29, 21:28
[No subject] - by flobbes - 2010-01-30, 18:36
[No subject] - by Nicezia - 2010-01-30, 19:26
[No subject] - by flobbes - 2010-01-30, 23:23
[No subject] - by takoi - 2010-02-06, 15:57
[No subject] - by filigran - 2010-02-07, 00:07
[No subject] - by Nicezia - 2010-02-08, 04:38
[No subject] - by Nicezia - 2010-02-08, 04:55
[No subject] - by filigran - 2010-02-08, 23:18
[SOLVED] repeat function - by drascom - 2010-04-16, 15:47
[No subject] - by Nicezia - 2010-05-29, 20:16
[No subject] - by Nicezia - 2010-06-03, 02:45
[No subject] - by olympia - 2010-06-03, 16:52
[No subject] - by spiff - 2010-06-03, 16:55
[No subject] - by olympia - 2010-06-03, 17:22
[No subject] - by spiff - 2010-06-03, 17:24
[No subject] - by Nicezia - 2010-06-03, 22:32
[No subject] - by Nicezia - 2010-06-03, 22:34
[No subject] - by olympia - 2010-06-06, 16:10
[No subject] - by Nicezia - 2010-06-07, 02:56
[No subject] - by Nicezia - 2010-06-10, 20:41
Help Request: - by Nicezia - 2010-06-14, 03:05
[No subject] - by jmarshall - 2010-06-14, 04:52
[No subject] - by Nicezia - 2010-06-14, 06:12
[No subject] - by jmarshall - 2010-06-14, 06:38
[No subject] - by Nicezia - 2010-07-03, 23:51
[No subject] - by UsagiYojimbo - 2010-07-16, 20:21
[No subject] - by Nicezia - 2010-07-17, 00:41
[No subject] - by UsagiYojimbo - 2010-07-18, 20:26
[No subject] - by Nicezia - 2010-10-05, 00:23
[No subject] - by flobbes - 2010-10-05, 21:38
[No subject] - by Nicezia - 2010-11-28, 00:41
[No subject] - by UsagiYojimbo - 2011-03-07, 17:40
[No subject] - by mortstar - 2011-03-31, 02:53
[No subject] - by akuiraz - 2011-04-06, 08:20


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Scraper Editor (Based on ScraperXML open source C# Library) - Help wanted!51