Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Settings -External Tools -Default Text / Shader Editor #137

Closed
Geinome opened this issue Dec 14, 2014 · 1 comment
Closed

Settings -External Tools -Default Text / Shader Editor #137

Geinome opened this issue Dec 14, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@Geinome
Copy link

Geinome commented Dec 14, 2014

Upon opening up the editor with nothing opened on 1.0.0- beta06 and then following these steps i get a fatal error:

  1. Click settings under edit.
  2. Select external tools in the side menu.
  3. Attempt to change the default text editor or shader.
  4. Fatal error.

Exception here: https://gist.github.com/33f33013d504b2933c5f.git

@Benlitz Benlitz self-assigned this Dec 14, 2014
@thepenguinmaster
Copy link

Same problem.

If I click the browse button, it will crash the applicaiton.
If I set a proper path into the text box, and click ok, then it will accept the value.

Paradox Version: 1.0.0-beta06
GameStudio Version: 4
User: Administrator
Current Directory: C:\Program Files (x86)\Paradox\GamePackages\Paradox.1.0.0-beta06\Bin\Windows-Direct3D11
OS Version: Microsoft Windows NT 6.2.9200.0
Command Line Args:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
StackTrace: at SiliconStudio.Assets.Editor.ViewModel.Quantum.BrowseFileCommand.ModifyValue(Object currentValue, ITypeDescriptor descriptor, Object parameter)
at SiliconStudio.Quantum.Commands.ModifyValueCommand.Invoke(Object currentValue, ITypeDescriptor descriptor, Object parameter, UndoToken& undoToken)
at SiliconStudio.Presentation.Quantum.ModelNodeCommandWrapper.Redo(Object parameter, Boolean creatingActionItem)
at SiliconStudio.Presentation.Commands.CancellableCommand.ExecuteCommand(Object parameter, Boolean createActionItem)
at SiliconStudio.Presentation.Commands.CancellableCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at SiliconStudio.Paradox.GameStudio.Program.Main(String[] args)

@Benlitz Benlitz added the fixed label Feb 4, 2015
@xen2 xen2 added this to the beta10 milestone Feb 12, 2015
@xen2 xen2 added fixed and removed fixed labels Feb 13, 2015
@xen2 xen2 closed this as completed Feb 13, 2015
stride-bot pushed a commit that referenced this issue Dec 11, 2015
…D to master

* commit '8469de4b58268751797aac46e5d38046e08248cb':
  [Editor] Fix potential NullReferenceException when modifying externally a source image used in a sprite sheet (PDX-2893).
  [Editor] Fix preview crash in debug (PDX-2903).
  [Editor] Do not reset tool mode when changing frame in sprite sheet editor (PDX-2914).
  [Presentation] Do not use optimized removal path when two items or less were removed from the selection.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants