NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Community Skin v
« Previous 1 2 3 4 5 10 Next »
Skin Plugin returns to Main Menu

 
  • 0 Vote(s) - 0 Average
Skin Plugin returns to Main Menu
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#21
2009-09-10, 12:35 PM (This post was last modified: 2009-09-10, 03:17 PM by McBainUK.)
Quote:2009-09-03 11:52:26.482 VERBOSE [1] System.NullReferenceException: Object reference not set to an instance of an object.
at WizUtilities.WizUiHelper.AWizListItem.getProperty(String propName)
at CommunitySkin4.EditableSkinItemPopup.ActivateItem(Object o)
at WizUtilities.WizUiHelper.WizUiList.OnKeyDown(KeyEventArgs e)
at CommunitySkin4.EditableSkinItemPopup.Controls_OnKeyDown(KeyEventArgs e)
at CommunitySkin4.EditableSkinItemPopup.OnKeyDown(KeyEventArgs e)
at CommunitySkin4.SkinPluginTask.OnKeyDown(KeyEventArgs e)
at GBPVRX2.MenuTask.x9006c1ed9ccb79de.OnKeyDown(KeyEventArgs e)
at GBPVRX2.x0061b801bdf12d35.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at GBPVRX2.x0061b801bdf12d35.WndProc(Message& m)

The 2 XML 'errors' are normal. It's this part that causes the crash. I think it maybe trying to use an list item property that is null.

Roy: try the attached SkinPlugin DLL. I've added some code to detect and log this.

(attachment deleted)
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#22
2009-09-10, 02:09 PM
JavaWiz Wrote:Just for grins, can you try with the most current version of MovieWiz?
Installed MovieWiz 1.0.27.0. Same problem, SkinPlugin dumps to main.

McBainUK Wrote:Roy: try the attached SkinPlugin DLL. I've added some code to detect and log this.
Log attached using new dll. Is this all you need?
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#23
2009-09-10, 03:11 PM (This post was last modified: 2009-09-10, 03:17 PM by McBainUK.)
Hmm, debug code and logs didn't help. Can you try this one and look for "TEST listItem.getProperty(item) failed" in the log file.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#24
2009-09-10, 04:35 PM
New log attached. Looks like more data in it, but I don't find the string you're looking for. Is this the only log file you need?
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#25
2009-09-15, 01:01 PM
Javawiz. Is it possible to try and reproduce this SkinPlugin crash on your PC? Would be great to run it through the WizTools debugger and see where it's crashing. I've reviews the SkinPlugin code in this area and at a loss to see what's going wrong.

Code:
public void ActivateItem(object o)
        {
            if (ctlMgr.CurrentControlName == lstOptionsList.PlacementName)
            {
                WizUiList.WizListItem listItem = (WizUiList.WizListItem)o;

                try
                {
                    object obj = listItem.getProperty("@item");
                }
                catch
                {
                    WizInfo.LogMessage(this.getName(), "EditableSkinItemPopup - ActivateItem", "TEST listItem.getProperty(item) failed");
                    return;
                }
                

                if (listItem.getProperty("@item") is EditableSkinItemOptionFolder)
                {
                    EditableSkinItemOptionFolder optionsFolder = (EditableSkinItemOptionFolder)listItem.getProperty("@item");
                    UpdateOptionsList(optionsFolder);
                }
                if (listItem.getProperty("@item") is EditableSkinItemOption)
                {
                    EditableSkinItemOption option = (EditableSkinItemOption)listItem.getProperty("@item");
                    this.m_EditableSkinItem.SelectedOption = option;
                    this.closeWithCommand("");
                }
            }
        }
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#26
2009-09-16, 02:08 PM
I don't get the crash on my machine.

What does your Deactivate() method do?

Do you multi-thread in here at all? I see right before the crash, Deactivate() is called, but then PreviewGenerator.GetRenderList() executes as the items are probably being disposed (in Deactivate()?).

Just guessing here.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#27
2009-09-16, 03:23 PM
JavaWiz Wrote:I don't get the crash on my machine.
Shame.

JavaWiz Wrote:Do you multi-thread in here at all?
No.

JavaWiz Wrote:What does your Deactivate() method do?
Nothing:
Code:
/// <summary>
/// Deactivate is called when plugin shuts down
/// </summary>
public void Deactivate()
{
    WizInfo.LogMessage(this.getName(), "Deactivate()", "Called.");
    return;
}
Will have to take another look...
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#28
2009-09-16, 07:48 PM
Any idea why ReturnToMainMenu() is called. I think a different thread is causing this to be called which causes PVRX2 to call deactive() method. I think your thread merrily goes along and tries to continue processing even though the plugin is in the process of shutting down.

Code:
2009-09-10 12:19:53.210 ERROR [1] SkinPlugin:         EditableSkinItemOption.LoadMetadata- Could not find file 'C:\Program Files\Devnz\GBPVR\Plugins\SkinPlugin4\Resources\Graphics\Background\CS Blue\CS Blue Dark.xml'.
2009-09-10 12:19:53.220 ERROR [1] SkinPlugin:         EditableSkinItemOption.LoadMetadata- Could not find file 'C:\Program Files\Devnz\GBPVR\Plugins\SkinPlugin4\Resources\Graphics\Background\CS Blue\CS Blue.xml'.
2009-09-10 12:19:53.320 VERBOSE [1] ReturnToMainMenu()
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#29
2009-09-17, 08:19 AM
Interesting point. Will investigate...
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#30
2009-09-29, 05:12 PM
Is this still on the radar?
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Please add to Weather2 skin... LewE 1 4,901 2010-04-02, 06:25 PM
Last Post: Fatman_do
  Community Skin WS Big Red X stangdaman 2 5,430 2010-03-14, 07:13 AM
Last Post: stangdaman
  Skin Plugin Causing Unhandled Exception Error Firetoad 1 5,137 2010-02-14, 02:47 AM
Last Post: Firetoad
  CS4 update for the iplayer plugin gEd 1 5,086 2010-01-28, 01:42 AM
Last Post: Fatman_do
  Menu Sub Folder Display steeb 10 10,137 2010-01-04, 09:19 PM
Last Post: Jaggy
  CS 405 text clipping in main menu newyankee 29 18,199 2009-12-29, 07:11 PM
Last Post: Fatman_do
  Problem with Skin Plugin richardw456 9 7,987 2009-12-22, 10:15 PM
Last Post: kindt nick
  Minor Change for Weather2 Skin LewE 2 5,071 2009-11-29, 09:40 PM
Last Post: Fatman_do
  Changes I'd Like to See in Community-SD OSD Skin LewE 15 12,083 2009-11-29, 05:52 PM
Last Post: johnsonx42
  Is Community Skin COmpatible with Windows 7? LewE 2 2,668 2009-11-29, 06:53 AM
Last Post: LewE

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode