MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Quality Assurance (Bugreports) » Archive » Bug Reports » 0.2.2.0 Final and SVN Builds


0.2.2.0 Final and SVN Builds Post bugs you have found in 0.2.2.0 final or any SVN-Snapshot here.

Reply
 
Thread Tools Display Modes
Old 2007-05-04, 22:55   #1 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: London, United Kingdom
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to Roberdin
Default GUI dialog menu throws exception on close of menu

TV-Server Version: 3 May 07 01:22
MediaPortal Version: 3 May 07 01:02
MediaPortal Skin: SpinSafe Revolve 070406_1611
Windows Version: XP Professional

Causing a GUI Dialog Menu to close (by clicking an option) throws an exception. This is manifested by making the entire GUI unresponsive. The menu disappears, but then no other option can be selected, or highlighted, save for buttons on the top bar; however these do not function when clicked. The close button on the top bar still, however, causes MediaPortal to minimise. Video and audio keeps playing. When MediaPortal is restarted, then it appears that whatever action you tried to take was successful (i.e. ordering MediaPortal to record a programme). The programme simply does not respond to any input after the action is taken. The problem occurs with every menu in MediaPortal. MediaPortal worked fine with revision 11 March 2007.

MediaPortal error log:
Code:
ExceptionType: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: mscorlib

Stack trace:

Server stack trace: 
   at MediaPortal.GUI.Library.GUITextScrollUpControl.SetText(String strText)
   at MediaPortal.GUI.Library.GUITextScrollUpControl.set_Label(String value)
   at TvPlugin.TVProgramInfo.UpdateProgramDescription(Schedule rec, Program program)
   at TvPlugin.TVProgramInfo.item_OnItemSelected(GUIListItem item, GUIControl parent)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at MediaPortal.GUI.Library.GUIListItem.ItemSelectedHandler.EndInvoke(IAsyncResult result)
   at MediaPortal.GUI.Library.GUIListItem.itemSelectedCallback(IAsyncResult ar)
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
Relevant extract of MediaPortal log:
Code:
2007-05-04 21:41:25.890625 [Info.][MPMain]: GUIWindow:OnWindowLoaded id:99 ex:Object of type 'MediaPortal.GUI.Library.GUIImage' cannot be converted to type 'MediaPortal.GUI.Library.GUIVideoControl'.    at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
   at System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
   at System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
   at MediaPortal.GUI.Library.GUIWindow.OnWindowLoaded() TvPlugin.TVGuide
2007-05-04 21:41:25.937500 [Info.][MPMain]: window:TvPlugin.TVGuide init
2007-05-04 21:43:11.718750 [Info.][MPMain]: window:TvPlugin.TVGuide deinit
2007-05-04 21:43:11.843750 [Info.][MPMain]: texturemanager:CleanupThumbs()
2007-05-04 21:43:11.937500 [Info.][MPMain]: window:TvPlugin.TVProgramInfo init
2007-05-04 21:43:13.937500 [Info.][MPMain]: WindowManager:route TvPlugin.TVProgramInfo:748->MediaPortal.Dialogs.GUIDialogMenu:2012
2007-05-04 21:43:13.937500 [Info.][MPMain]: window:MediaPortal.Dialogs.GUIDialogMenu init
2007-05-04 21:43:15.187500 [Info.][MPMain]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
   at MediaPortal.Dialogs.GUIDialogMenu.OnMessage(GUIMessage message)
   at MediaPortal.Dialogs.GUIDialogMenu.Close()
   at MediaPortal.Dialogs.GUIDialogMenu.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
   at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
2007-05-04 21:44:45.734375 [Info.][4]: HCWHelper: MediaPortal is not running

Last edited by Roberdin; 2007-05-04 at 22:57.
Roberdin is offline   Reply With Quote
Old 2007-05-04, 23:27   #2 (permalink)
Portal Tester
 
ronilse's Avatar
 
Join Date: Jul 2005
Posts: 3,391
Thanks: 23
Thanked 99 Times in 84 Posts

Country:

My System

Default

Hi,
Is this only when using SpinSafe Revolve or does it happen with B2 too?

Regards
Roy
ronilse is online now   Reply With Quote
Old 2007-05-05, 02:25   #3 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: London, United Kingdom
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via MSN to Roberdin
Default

When switching to BlueTwo the problem ceases. It only affects SpinSafe Revolve.
Roberdin is offline   Reply With Quote
Old 2007-05-10, 22:39   #4 (permalink)
Portal Member
 
Join Date: Aug 2005
Posts: 26
Thanks: 2
Thanked 0 Times in 0 Posts


Default

I can confirm this issue with all late SVNs combined with skin Simplify wide.

Any tips how to modify the skin?
Stor-Anders is offline   Reply With Quote
Old 2007-05-11, 02:56   #5 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I got the same issue with BlackMyst, Aqua and Spinsafe and with BlueTwo everything is fine.
Nox71 is offline   Reply With Quote
Old 2007-05-11, 05:11   #6 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,957
Thanks: 71
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default

I'm away from homw at the moment so can't look into it myself, but a good place to start would be to look in the blue two folder and check the most recently modified xml files.
I'm guessing there would be a changed XML that deals with menus or OSD's.
Once you find it then check for differences in the same XML in the skin you are using.

If you still run into trouble post back and I may be able to give more info...
Marcusb is offline   Reply With Quote
Old 2007-05-11, 14:12   #7 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


Default

For my part the problem come from the DialogMenu.xml file, i just put the one from BlueTwo and it's working now. The next step would be to find the difference in the two file to fix the one for Aqua. I think that it should be possible to solve the same issue with other skin.
Nox71 is offline   Reply With Quote
Reply

Bookmarks

Tags
close, dialog, exception, gui, menu, throws

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Menu? Glith General Support 3 2007-10-23 11:35
re-scan tv channels within GUI menu chenks Improvement Suggestions 0 2006-11-17 20:59
Russian Menu SinUS26 General Support 1 2006-10-13 19:42
Compress TV recording locks GUI upon changing menu ziphnor General Support 1 2005-12-08 21:10
Nice Close Menu Mirrha Improvement Suggestions 0 2005-04-17 20:13


All times are GMT +1. The time now is 20:38.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden