Qt-jambi-interest Archive, March 2007
Qt jambi Eclipse integration/plugin installation problem
Message 1 in thread
hello!
I get the following error when trying to create new Qt jambi project.
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
the exception stack is pretty long, so I attach only the top of it:
java.lang.NoSuchMethodError:
java.lang.Class.getCanonicalName()Ljava/lang/String;
at com.trolltech.qtjambi.wizards.pages.QtProjectWizardPage.<init>(QtProjectWizardPage.java:13)
at com.trolltech.qtjambi.wizards.QtProjectWizardBase.init(QtProjectWizardBase.java:21)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:173)
at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)
at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)
at org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java:71)
at org.eclipse.ui.internal.dialogs.NewWizardNewPage$1.doubleClick(NewWizardNewPage.java:364)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:796)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
Also, I receive other errors, while starting Eclipse after I've
installed Qt jambi eclipse plugin:
1. Unhandled event loop exception (without any ex. stack)
2. java.lang.Class.getCanonicalName()Ljava/lang/String;
Session Data:
eclipse.buildId=I20060526-0010
java.version=1.5.0-beta
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Command-line arguments: -os win32 -ws win32 -arch x86
I'm trying to run qt plugin on Eclipse 3.2.2, however I have two other
versions of Eclipse on my computer, configured with some other utils.
I was trying to clean registry of any possible older qt entries, but
nothing helps :(
thank you for any help.
--
[ signature omitted ]
Message 2 in thread
Marcin "Bliszek" Blichowski wrote:
> hello!
>
> I get the following error when trying to create new Qt jambi project.
>
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>
> the exception stack is pretty long, so I attach only the top of it:
> java.lang.NoSuchMethodError:
> java.lang.Class.getCanonicalName()Ljava/lang/String;
> at
> com.trolltech.qtjambi.wizards.pages.QtProjectWizardPage.<init>(QtProjectWizardPage.java:13)
>
Looks like your java is out of date. getCanonicalName was introduced in
1.5. Why are you running 1.5 beta anyway?