Merge tool java error

3 views (last 30 days)
Ugur Mengilli
Ugur Mengilli on 19 Dec 2020
Answered: Ugur Mengilli on 21 Dec 2020
I'm using Matlab 2020a in Windows 10. I've followed the setup instructions for git in the link. Comparison window of two simulink models works fine, but when I switch to merge mode following error lines appears in the command window, and all the button icons and texts are replaced by the text "disposed". I can choose one of the conflicting changes in merge mode too, but there is no "save" or "finish merge" or a similar button. I've also attached the screenshot. Did I forget to install or configure anything?
Exception in thread "AWT-EventQueue-0": java.lang.NullPointerException
at java.awt.Container.addImpl(Container.java:1095)
at java.awt.Container.add(Container.java:419)
at com.mathworks.toolstrip.factory.TSFactory.createGroup(TSFactory.java:1296)
at com.mathworks.toolstrip.factory.TSFactory.createComponent(TSFactory.java:780)
at com.mathworks.toolstrip.factory.TSFactory.createTab(TSFactory.java:271)
at com.mathworks.toolstrip.factory.TSFactory.createTab(TSFactory.java:208)
at com.mathworks.toolstrip.factory.TSFactory.createTab(TSFactory.java:200)
at com.mathworks.comparisons.report.toolstrip.ComparisonToolstripTabConfiguration.createTab(ComparisonToolstripTabConfiguration.java:77)
at com.mathworks.comparisons.report.toolstrip.ComparisonToolstripConfiguration.createTabs(ComparisonToolstripConfiguration.java:42)
at com.mathworks.comparisons.gui.report.ComparisonReport.updateToolstrip(ComparisonReport.java:328)
at com.mathworks.comparisons.gui.report.ComparisonReport.access$400(ComparisonReport.java:62)
at com.mathworks.comparisons.gui.report.ComparisonReport$3$1.run(ComparisonReport.java:216)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Accepted Answer

Ugur Mengilli
Ugur Mengilli on 21 Dec 2020
I have been contacted by MATLAB technical support service. They confirmed that this is a known issue in 2019b and 2020a and suggested me to move to 2020b.
FYI.

More Answers (0)

Categories

Find more on Source Control in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!