1 (edited by Popov 2013-01-23 08:29:40)

Topic: Get Errormessage System.NullReferenceException:

Hi,
at the start of ForexStrategyBuilder I got the following exception.

http://s14.postimage.org/8aytl370t/message.jpg

After klicking next, the ForexStrategyBuilder start.
All show ok, but some windows are not correct.

I found this error on my Windows 7 Vista64 bit, and my other system Windows 7 Ultimate 64 bit (fresh installation of the system).
My other systems works correct (without this exception)

What can I do? Is the Net Framework Installation not correct ?
I reinstalled Net2.0, but I got the same error.

thomas
...................................................




Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei Forex_Strategy_Builder.JournalByPositions.SetUpJournal()
   bei Forex_Strategy_Builder.JournalByPositions.OnResize(EventArgs eventargs)
   bei System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   bei System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   bei System.Windows.Forms.Control.UpdateBounds()
   bei System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

http://www.tradessystem.com/

Re: Get Errormessage System.NullReferenceException:

tnickel wrote:

Hi,
at the start of ForexStrategyBuilder I got the following exception.

http://s14.postimage.org/8aytl370t/message.jpg

After klicking next, the ForexStrategyBuilder start.
All show ok, but some windows are not correct.

I found this error on my Windows 7 Vista64 bit, and my other system Windows 7 Ultimate 64 bit (fresh installation of the system).
My other systems works correct (without this exception)

What can I do? Is the Net Framework Installation not correct ?
I reinstalled Net2.0, but I got the same error.

thomas
...................................................

To my limited knowledge this part - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt - is the important bit. Indicates FSB problem, but then again it should be widespread. If you can, make note of the windows which act up, this should help to get to the cause of it faster. Unfortunately the end of my capacity is reached now, the developer is the right one to continue.

Re: Get Errormessage System.NullReferenceException:

Hi,
I have added the defect windows.
On the lift side is the defekt window and on the right side the correct working.
thomas

http://s13.postimage.org/pbig484pf/pic1.jpg



http://s9.postimage.org/5c1u034or/pic2.jpg

http://www.tradessystem.com/

Re: Get Errormessage System.NullReferenceException:

It looks like something with calculation location and sizes of the controls. We see that error comes when OnResizemethod calls SetUpJournal.
I think change of display resolution, font size or DPI will make FSB running.
However this is an obvious bug in the program. It must run on all hardware and settings.
It will be easy to fix the problem if I can reproduce it.

Can you try different settings of the display?

Re: Get Errormessage System.NullReferenceException:

Hi I found the setting.
It is the DPI Scaling.

I use resulution 1920x1080 on my Windows Vista System, but the resolution is not the problem. It is the size of the text.

You can set dpi-Size in the following setting.


http://s9.postimage.org/89hr9gauz/scaling1.jpg


http://s8.postimage.org/wl5g2n21t/scaling2.jpg



With Dpi-Size 96 it works
With Dpi-Size 120 it works not (The text is too big)

http://www.tradessystem.com/

Re: Get Errormessage System.NullReferenceException:

It's good you have found the source of issue.
I'll try to fix it.