[Configuration] TV Configuration Preview Window not shown (1 Viewer)

rodor

Portal Member
June 18, 2008
19
0
MediaPortal Version: 1.1 BETA
MediaPortal Skin: StreamedMP
Windows Version: Seven x64 - Latest/NoBeta always
CPU Type: DualCore Intel Pentium E5300, 2633 MHz (13 x 203)
HDD: Seagate 80GB
Memory: 2 GB DDR2, 800MHz
Motherboard: Asus P5KPL-CM
Video Card: ATI Radeon HD 4600 Series
Video Card Driver: 8.681.0.0
Sound Card: ATI High Definition Audio Device OnBoard
Sound Card AC3:
Sound Card Driver: 5.0.7000.9
1. TV Card: AVerMedia H727 PCIe Hybrid DVBT HDMI Capture Device
1. TV Card Type: Analog / DVB-T
1. TV Card Driver: 1.12.64.20 beta
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: ffdshow rev3098
MPEG2 Audio Codec: ffdshow rev3098
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: iMon PAD
TV: Samsung 40" UE40B7000
TV - HTPC Connection: HDMI

Is it only me, or what? The Preview for both Analog and DVB-T channels is not shown from within TV Configuration. (I press the button and nothing happens)

Here is the error log:
(It's in greek, it actually says "null reference exception")
Code:
2010-01-23 19:23:06.628319 [SetupTv]: Exception   :System.NullReferenceException: Δεν έχει οριστεί αναφορά αντικειμένου σε μια παρουσία αντικειμένου.
   σε SetupTv.Sections.FormPreview.FormPreview_Resize(Object sender, EventArgs e)
   σε System.Windows.Forms.Control.OnResize(EventArgs e)
   σε System.Windows.Forms.Form.OnResize(EventArgs e)
   σε System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   σε System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   σε System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
   σε System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   σε System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
   σε System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
   σε System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
   σε System.Windows.Forms.Form.ScaleControl(SizeF factor, BoundsSpecified specified)
   σε System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   σε System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
   σε System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
   σε System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
   σε System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
   σε System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
   σε SetupTv.Sections.FormPreview.InitializeComponent()
   σε SetupTv.Sections.FormPreview..ctor()
   σε SetupTv.Sections.ChannelsInGroupControl.mpButtonPreview_Click(Object sender, EventArgs e)
   σε System.Windows.Forms.Control.OnClick(EventArgs e)
   σε System.Windows.Forms.Button.OnClick(EventArgs e)
   σε System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   σε System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   σε System.Windows.Forms.Control.WndProc(Message& m)
   σε System.Windows.Forms.ButtonBase.WndProc(Message& m)
   σε System.Windows.Forms.Button.WndProc(Message& m)
   σε System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   σε System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   σε System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I was too weird of this crash that I looked in the code of the FormPreview.cs.
The offending code seems to be _player.ResizeToParent(); probably because the ShowDialog() function was not called to initialize _player ...

To provide more information, I do not get any MessageBoxes when I press "Preview".
The TV is working fine from within MediaPortal.

Please excuse me if this has been reported in the past as it seems pretty obvious to notice, but I did not find anything relevant in this forum.

PS: Why there is no link to the source code on Sf.Net for each of the releases ???? Just curious.
 

rodor

Portal Member
June 18, 2008
19
0
Right! It seems that Windows 7 set font size to 125% by default cause I dont remember changing it.
 

Users who are viewing this thread

Top Bottom