Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug-in breaks hyperlink detection in class files #22

Open
gdethier opened this issue Mar 8, 2021 · 0 comments
Open

Plug-in breaks hyperlink detection in class files #22

gdethier opened this issue Mar 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gdethier
Copy link
Member

gdethier commented Mar 8, 2021

With version 0.4.1, hyperlink detection is broken in class files. The following error message is shown in Eclipse error log:

java.lang.ClassCastException: class org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput cannot be cast to class org.eclipse.ui.IFileEditorInput (org.eclipse.jdt.internal.ui.javaeditor.InternalClassFileEditorInput is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @e8bd42f; org.eclipse.ui.IFileEditorInput is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @660b1a9d)
	at poussecafe.eclipse.plugin.hyperlink.MessageListenerHyperlinkDetector.editedFile(MessageListenerHyperlinkDetector.java:63)
	at poussecafe.eclipse.plugin.hyperlink.MessageListenerHyperlinkDetector.isEligibleContent(MessageListenerHyperlinkDetector.java:58)
	at poussecafe.eclipse.plugin.hyperlink.MessageListenerHyperlinkDetector.detectHyperlinks(MessageListenerHyperlinkDetector.java:43)
@gdethier gdethier added the bug Something isn't working label Mar 8, 2021
@gdethier gdethier added this to the 0.5 milestone Mar 8, 2021
@gdethier gdethier self-assigned this Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant