count-negative / qwickie

Automatically exported from code.google.com/p/qwickie
15 stars 7 forks source link

QWickieHtmlRenameParticipant broken in Eclipse 2024-06 #12

Open sebthom opened 2 months ago

sebthom commented 2 months ago

When trying to rename a Java class the following error appears:

Plug-in "qwickie.plugin" was unable to instantiate class "qwickie.refactoring.QWickieHtmlRenameParticipant".

eclipse.buildId=4.32.0.20240606-1231
java.version=21.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data D:\wks

org.eclipse.equinox.registry
Error
Fri Jun 28 12:58:03 CEST 2024
Plug-in "qwickie.plugin" was unable to instantiate class "qwickie.refactoring.QWickieHtmlRenameParticipant".

java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor
    at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3549)
    at java.base/java.lang.Class.getConstructor0(Class.java:3754)
    at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2930)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:233)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:987)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:275)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:65)
    at org.eclipse.ltk.internal.core.refactoring.ParticipantDescriptor.createParticipant(ParticipantDescriptor.java:88)
    at org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint.getParticipants(ParticipantExtensionPoint.java:101)
    at org.eclipse.ltk.core.refactoring.participants.ParticipantManager.loadRenameParticipants(ParticipantManager.java:77)
    at org.eclipse.jdt.internal.corext.refactoring.rename.RenameModifications.loadParticipants(RenameModifications.java:198)
    at org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameProcessor.loadParticipants(JavaRenameProcessor.java:44)
    at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:236)
    at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:163)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:84)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:41)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:740)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2451)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2476)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:6086)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:108)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:124)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor cannot be found by qwickie.plugin_1.2.0.202301071156
    at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:562)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:557)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
    ... 23 more
vrozkovec commented 2 months ago

Hi, check my comment here: https://github.com/count-negative/qwickie/issues/10#issuecomment-2217472353 Mentioned commit seems to have fixed this issue as well.