[not reproducible] only 1 Shares (1 Viewer)

Atomic7431

Portal Pro
June 17, 2011
497
71
Home Country
United Kingdom United Kingdom
I have just installed the new alpha 1 autumn release of mp2, great work so far :)

when trying to pick a share it let me choose one and the type but i wanted to add another share for music/tv series and it lets me get to the bit where im looking for the folder i wish to choose but i cant pick the folder with the shows in as it wont `dot` the share and let me continue hope this makes sense, client log attached.
 

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Looks like a real issue, thank you for reporting!
    [2012-11-19 09:59:58,973] [23436 ] [InputMgr ] [WARN ] - SharesConfigModel: Problem adding/editing share
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UiComponents.SkinBase.Models.LocalShares.<>c__DisplayClass16.<SharePathExists>b__15(Share share)
    at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
    at MediaPortal.UiComponents.SkinBase.Models.LocalShares.SharePathExists(ResourcePath sharePath)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.UpdateIsChoosenPathValid()
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.UpdateResourceProviderPathTree()

    [2012-11-19 10:00:03,352] [27815 ] [InputMgr ] [ERROR] - Screen 'shares_config_choose_path': Unhandled exception while preprocessing key event 'shares_config_choose_path'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UiComponents.SkinBase.Models.LocalShares.<>c__DisplayClass16.<SharePathExists>b__15(Share share)
    at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
    at MediaPortal.UiComponents.SkinBase.Models.LocalShares.SharePathExists(ResourcePath sharePath)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.UpdateIsChoosenPathValid()
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.OnChoosenResourcePathChanged(AbstractProperty resourceProviderURL, Object oldValue)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at MediaPortal.Common.General.WeakEventMulticastDelegate.Fire(Object[] parameters)
    at MediaPortal.Common.General.WProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.OnTreePathSelectionChanged(AbstractProperty property, Object oldValue)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at MediaPortal.Common.General.WeakEventMulticastDelegate.Fire(Object[] parameters)
    at MediaPortal.Common.General.WProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DataDescriptorRepeater.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.UpdateSource()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.OnTargetChanged(IDataDescriptor target)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.OnPropertyChanged(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.PropertyChangedHandler.Invoke(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.SProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.RadioButton.OnButtonPressedChanged(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.PropertyChangedHandler.Invoke(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.SProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.Button.Execute()
    at MediaPortal.UI.SkinEngine.Controls.Visuals.Button.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.ScreenManagement.Screen.HandleKeyPreview(Key& key)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    You should close and restart both MP2-Server and MP2-Client and try again. Usually this all works without issues, I created and changed so many shares recently...
     

    Atomic7431

    Portal Pro
    June 17, 2011
    497
    71
    Home Country
    United Kingdom United Kingdom
    ok i had restarted everything once but done again and now i can add more shares so thanks for that, the server part wasnt connected properly so done a reinstall and global shares is working now as expected when adding a new share.
     

    Users who are viewing this thread

    Top Bottom