Creating a first plug-in for the IDE #1085

CLOSED
Submitted 3 months ago

Hi, I just did the exercise "Creating and using a first plug-in" and i can see the new Sample View as i should. But i have a question: when i close the runtime eclipse app errors come to my console "!ENTRY org.eclipse.ui.ide 4 4 2022-07-06 08:43:12.979 !MESSAGE Not properly disposed SWT resource !STACK 0 java.lang.Error: SWT Resource was not properly disposed at org.eclipse.swt.graphics.Resource.initNonDisposeTracking(Resource.java:172) at org.eclipse.swt.graphics.Resource.<init>(Resource.java:120) at org.eclipse.swt.graphics.Image.<init>(Image.java:483) at eu.musoft.eclipse.xpath.evaluation.plugin.views.XPathEvaluationView.createPartControl(XPathEvaluationView.java:97) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:158) at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:155) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:365)" etc.. Is this normal or i did something wrong? Thanks in advance.

Comments

  3 months ago

Hi, this is a bug in the eu.musoft.eclipse.xpath.evaluation.plugin, it does not release (one of) its images. Looks to me that this plug-in in located here: https://github.com/stoupa91/eclipse-xpath-evaluation-plugin

To get rid of the error in your runtime Eclipse, I suggest to not add it to the runtime. https://learn.vogella.com/exercises/eclipse-ide-extensions/create-a-product-and-a-feature-for-your-ide-contributions-P2ZTa will do this.

Please report this bug in this. Best regards, Lars

  3 months ago

Please login to write a comment.