Merge tool java error
显示 更早的评论
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)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Source Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!