mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
![]() If a .cproject references a binary parser ID that is not in the plug-in XML, or in the XML, but marked as private, the UI cannot display the binary parsers and was raising an ArrayIndexOutOfBoundsException as below. This fix rewrites the array handling using collections. ```java !ENTRY org.eclipse.ui 4 0 2022-11-04 09:44:27.409 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.ArrayIndexOutOfBoundsException: Index 7 out of bounds for length 7 at org.eclipse.cdt.ui.newui.BinaryParsTab.updateData(BinaryParsTab.java:253) at org.eclipse.cdt.ui.newui.AbstractCPropertyTab.setVisible(AbstractCPropertyTab.java:253) at org.eclipse.cdt.ui.newui.BinaryParsTab.setVisible(BinaryParsTab.java:221) at org.eclipse.cdt.ui.newui.AbstractCPropertyTab.handleTabEvent(AbstractCPropertyTab.java:630) at org.eclipse.cdt.ui.newui.AbstractPage.updateSelectedTab(AbstractPage.java:412) at org.eclipse.cdt.ui.newui.AbstractPage$4.widgetSelected(AbstractPage.java:382) ``` |
||
---|---|---|
.. | ||
org.eclipse.cdt.core | ||
org.eclipse.cdt.core.linux | ||
org.eclipse.cdt.core.linux.aarch64 | ||
org.eclipse.cdt.core.linux.ppc64le | ||
org.eclipse.cdt.core.linux.x86_64 | ||
org.eclipse.cdt.core.macosx | ||
org.eclipse.cdt.core.native | ||
org.eclipse.cdt.core.tests | ||
org.eclipse.cdt.core.win32 | ||
org.eclipse.cdt.core.win32.x86_64 | ||
org.eclipse.cdt.ui | ||
org.eclipse.cdt.ui.tests | ||
pom.xml |