Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. garbuckle
  2. PLCnext Engineer
  3. Wednesday, 06 October 2021
Hi,

PLCNext 2021.6 has been crashing on me with this error. Any help would be great.

PLCnext Engineer, Version 2021.6.1 (Build 4.10.294.0)

Unexpected Exception
======================================================================
Exception has been thrown by the target of an invocation.

Exception chain:
----------------------------------------------------------------------
TargetInvocationException
NullReferenceException

======================================================================

Details
----------------------------------------------------------------------

TargetInvocationException
==============================
Message:
------------------------------
Exception has been thrown by the target of an invocation.

Stack trace:
------------------------------
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at _97e6460b07ed416fac7921e36e0705a5.xeyus.OnExecute(IAdeServiceProvider context, Object[] parameters)
at Ade.Components.Command.Execute(IAdeServiceProvider context, Object[] parameters)
at Ade.UIFramework.WpfUIFramework.hrctt(CommandInfo afh, DependencyObject afh, Object[] afh)
at Ade.UIFramework.WpfUIFramework.hrctq(Object afe, ExecutedRoutedEventArgs afe)

----------------------------------------------------------------------

NullReferenceException
==============================
Message:
------------------------------
Object reference not set to an instance of an object.

Stack trace:
------------------------------
at Ade.DataList.UI.ViewModel.DataListViewModel.StartSubscriptions()
at Ade.DataList.UI.DataListEditorFactory.FinalizeEditorCreation(IEditorFrame editorFrame, Object view, Object model)
at Ade.UIFramework.WpfUIFramework.hrcun(EditorFrameDescription afx, xeyte afx, xeyso afx)
at _97e6460b07ed416fac7921e36e0705a5.xeyte.OpenEditorSet(EditorFrameSetDescription editorFrameSetDescription, EditorFrameGroupOpenResults& editorFrameGroupOpenEditorFrameDescription)
at Ade.Shell.ShellMediatorJumpResolver.rpwqi(Uri za, EditorFrameGroupOpenResults& za, String& za, IEditorFrame& za)
at Ade.Shell.ShellMediatorJumpResolver.JumpTo(Uri destination, Object tag, Boolean focus)
at Ade.UIFramework.WpfUIFramework.Jump(Uri destinationUri, Object tag, Boolean focus)
at Ade.UIFramework.OutputWindowViewModel.sqfmx()
at Ade.UIFramework.OutputWindowViewModel.Jump()
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello cctengineering,

thanks for reporting, for analysis the following additional information are needed:

- Can you please copy the entire message into a TXT file and upload it via server-link below.
- Please give me a description of what steps were taken before the crash.
- If possible, please upload also the PLCnEng project with a description of how the error can be reproduced.

Adresse: https://extrans.phoenixcontact.com/extrans2/index.jsp?id=311291685
Passwort: gw9xMgMQMM

Thanks & Best Regards
Eduard
Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support
garbuckle Accepted Answer Pending Moderation
0
Votes
Undo
I am fairly new to PLCNext, so just creating a demo program.
1) I had connected to the PLCNext via ethernet.
2) I clicked "Write and Start Project".
3) A variable error popped up. (VAR0005)
4) When i double click on the error, the program crashes.

I am currently offline right now, but the program will still crash when I click on the error. I have uploaded everything to the server.

Thanks
garbuckle Accepted Answer Pending Moderation
0
Votes
Undo
I am getting the same crash when I click on "PLC" --- "Data List", completely offline. The text file for this has been uploaded as well.
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hello cctengineering,

Thanks a lot for description and sending project, defect is reproduceable and will be investigated by development.

Until the issue is investigated:
Please create new project and import the code via "Import from another Project".

BR
Eduard
Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support
  1. one week ago
  2. PLCnext Engineer
  3. # 4
garbuckle Accepted Answer Pending Moderation
0
Votes
Undo
Ok Eduard thanks for the heads up.
  1. one week ago
  2. PLCnext Engineer
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.