File will not save

Hello,

I have a question regarding an error in Dialux EVO 12. I'm currently working with the project (street light design) where I have LTD files from both members and non-members. I have trouble saving the project once I add LDT from Philips, which should be a member of Dialux. I have prepayed and activated the possibility of using files from non-members (I do not have a Pro version of Dialux).

I looked into other similar problems mentioned on the forum and found that the problem might be with the firewall or antivirus - I enabled Diaux in both cases but the error still remains.

Full error message below:

Neošetřená výjimka: Object reference not set to an instance of an object.

System.NullReferenceException

Object reference not set to an instance of an object.

at Dial.Dialux.ProjectDataService.ResultTypes.ContextIdProvider.TryGetContextId(Int64 lightSceneId, Int64& contextId)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForParameterVisitor.GetGridResult(ResultFactory resultFactory, ICalculationSurfaceWithPoints surface, ICalculationParameterParams parameter, Int64 lightSceneId, Boolean withEmptyResults)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForAllParametersVisitor.<>c__DisplayClass17_0.<Visit_CalculationSurfaceWithPoints>b__1(ICalculationParameterParams calcParam)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForAllParametersVisitor.<>c__DisplayClass31_0`1.<CreateResultForeachParameter>b__1(ICalculationParameterParams parameter)

at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForAllParametersVisitor.CreateResultForeachParameter[TResult](ICalculationElementParams calcElement, CalcParamContainerType containerType, Func`2 createResult)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForAllParametersVisitor.Visit_CalculationSurfaceWithPoints(ICalculationSurfaceWithPoints calcSurfWithPoints)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.CreateResultsForAllParametersVisitor.Visit(ICalculationGridSurface calculationGridSurface)

at Dial.Dialux.ProjectData.InstanceObjects.CalculationGridSurface.Accept(IProjectDataVisitor visitor)

at Dial.Dialux.ProjectData.Interfaces.Visitors.RestrictedProjectDataVisitor`1.ApplyTo(TVisitable visitable)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactory.GetSurfaceResults(IBaseCalculationSurfaceElement surface, Int64 lightSceneId, Boolean withEmptyResults)

at Dial.Dialux.ProjectDataService.ResultTypes.ResultFactoryWithCache.GetSurfaceResults(IBaseCalculationSurfaceElement surface, ICalculationParameterParams parameter, Int64 lightSceneId, Boolean withEmptyResults)

at Dial.Dialux.InteractionTools.Views.ViewTool.GetMinMaxValuesFromCalculationResults(ISpatialStructureElement spatialStructureElement)

at Dial.Dialux.InteractionTools.Views.ViewTool.CreateOrUpdateViewElement(Int32 userViewId)

at Dial.Dialux.InteractionTools.Views.ViewTool.OnBeforeSave(Object sender, EventArgs e)

at Dial.Dialux.Classlib.Interfaces.Extensions.EventExtensions.InvokeImpl(EventHandler handler, Object sender, Int32 maxExpectedListeners)

at Dial.Dialux.ProjectData.Management.ChangeManager.ReportProjectStatus(ProjectStatus projectStatus)

at Dial.Dialux.InteractionProjectHandling.Base.ProjectHandling.SaveProject(String filename)

at Dial.Dialux.Gui.MainWindowFileHandling.SecureSaveProject(String filename)

at Dial.Dialux.Gui.MainWindowFileHandling.OnCommandSave(Object sender, ExecutedRoutedEventArgs e)

at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)

at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)

at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)

at System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)

at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)

at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)

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.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

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.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

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.Input.InputManager.ProcessStagingArea()

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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

9 replies