Skip to content

Test the validity of configuration element before accessing attributes#2600

Open
eric-milles wants to merge 1 commit intoeclipse-platform:masterfrom
eric-milles:issue2593
Open

Test the validity of configuration element before accessing attributes#2600
eric-milles wants to merge 1 commit intoeclipse-platform:masterfrom
eric-milles:issue2593

Conversation

@eric-milles
Copy link
Copy Markdown

@eric-milles eric-milles commented Apr 1, 2026

The IConfigurationElement.getAttribute method throws InvalidRegistryObjectException. Check isValid() before accessing attributes to prevent uncaught exception.

see #2593

@eric-milles eric-milles force-pushed the issue2593 branch 2 times, most recently from 5042169 to a85e167 Compare April 1, 2026 20:03
@eric-milles
Copy link
Copy Markdown
Author

[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:5.0.3-SNAPSHOT:compare-version-with-baselines (compare-attached-artifacts-with-release) on project org.eclipse.core.expressions: Only qualifier changed for (org.eclipse.core.expressions/3.9.500.v20260403-1410). Expected to have bigger x.y.z than what is available in baseline (3.9.500.v20250608-0434)

Is this something that is supposed to be changed elsewhere? Or is the expectation that I bump the version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant