Skip to main content
PPate.9
Associate
Apr 17, 2023 7:58 PM UTC
Solved

Bug Report: In container section


_legacyfs_online_stmicro_images_0693W00000biG6LQAU.pngWhen containers are copied within the software the touchgfx 4.21.3 crashes.

Log Outputs:

2023-04-17 15:50:37,616 [1] ERROR TouchGFXDesigner.App: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.

  at TouchGFXDomainModel.Widgets.CustomContainerWidget.CustomContainerDefinition.get_Siblings()

  at History.Commands.MoveWidgetsInTreeCommand.CanMoveBackwardInList(IEnumerable`1 components)

  at MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource(ICommandSource commandSource)

  at System.Windows.Controls.MenuItem.UpdateCanExecute()

  at System.Windows.WeakEventManager.ListenerList.DeliverEvent(Listener& listener, Object sender, EventArgs args, Type managerType)

  at System.Windows.WeakEventManager.ListenerList.DeliverEvent(Object sender, EventArgs args, Type managerType)

  at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)

  at System.Windows.Input.CommandManager.RaiseRequerySuggested(Object obj)

  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)

This topic has been closed for replies.
Yoann KLEIN
Yoann KLEINBest answer
ST Employee
Apr 25, 2023 7:25 AM UTC

Thanks,

I'm finally able to reproduce it. That's definitely a bug, I'll report it to my colleagues.

/Yoann

Yoann KLEINST Software Developer | TouchGFX

6 replies

Yoann KLEIN
ST Employee
Apr 19, 2023 1:39 PM UTC

Hello @Community member​,

I'm not able to reproduce your issue, does it simply happen when you copy paste a custom container ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
PPate.9
PPate.9Author
Associate
Apr 24, 2023 3:06 PM UTC

Hello @Yoann KLEIN​ 

Yes. To reproduce the issue copy a custom container and paste the custom container into the container section to make a copy. Once you make any changes in the copied container the software crashes with this error.

It is not project specific. I am able to reproduce this issue in a new project also.

Yoann KLEIN
Yoann KLEINBest answer
ST Employee
Apr 25, 2023 7:25 AM UTC

Thanks,

I'm finally able to reproduce it. That's definitely a bug, I'll report it to my colleagues.

/Yoann

Yoann KLEINST Software Developer | TouchGFX
PPate.9
PPate.9Author
Associate
Apr 24, 2023 3:12 PM UTC

There is another bug in version 4.21.3. Sorry for not creating another thread.

Bug: Flex Button

When you add a Flex Button to the project and try adding an image in the visual elements, it doesn't register the selected image. I hope the screenshot helps to understand the issue.


_legacyfs_online_stmicro_images_0693W00000biiOXQAY.png
_legacyfs_online_stmicro_images_0693W00000biiONQAY.png

Senior II
Apr 25, 2023 6:26 AM UTC

I also had the joy with this FlexButton image bug! Fortunately I had the "correct" FlexButton on another screen and could copy it. This must be a "new" bug, as it worked in older versions.

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.
Yoann KLEIN
ST Employee
Apr 25, 2023 7:26 AM UTC

Hello,

We are already aware of those issues with the FlexButton. It's indeed something new, and we'll try to fix for TouchGFX v4.21.4.

Thanks for reporting though :)

/Yoann

Yoann KLEINST Software Developer | TouchGFX