ajermakovics / eclipse-instasearch

Eclipse plug-in for fast code search
http://marketplace.eclipse.org/content/instasearch
Eclipse Public License 2.0
170 stars 48 forks source link

Instasearch does not work in Eclipse Juno (3.8/4.2) #11

Closed uhafner closed 12 years ago

uhafner commented 12 years ago

eclipse.buildId=I20120608-1400 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize=256m Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -debug /home/hafner/Documents/eclipse.debug -data /home/hafner/Workspaces/Jenkins --launcher.XXMaxPermSize=256m

Warning Wed Jun 27 11:07:45 CEST 2012 Bundle it.unibz.instasearch_1.3.3 [931] was not resolved.

uhafner commented 12 years ago

eclipse.buildId=I20120608-1400 java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize=256m Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -debug /home/hafner/Documents/eclipse.debug -data /home/hafner/Workspaces/Jenkins --launcher.XXMaxPermSize=256m

Error Wed Jun 27 11:26:13 CEST 2012 FrameworkEvent ERROR

java.util.zip.ZipException: Exception in opening zip file: /home/hafner/Programs/Eclipse-4.2/configuration/org.eclipse.osgi/bundles/932/2/bundlefile at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:287) at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:87) at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:100) at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:73) at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:245) at org.eclipse.osgi.baseadaptor.BaseData.getEntry0(BaseData.java:114) at org.eclipse.osgi.baseadaptor.BaseData.getEntry(BaseData.java:105) at org.eclipse.osgi.internal.baseadaptor.AdaptorUtil.loadManifestFrom(AdaptorUtil.java:187) at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest0(EclipseStorageHook.java:410) at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getGeneratedManifest(EclipseStorageHook.java:397) at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.createCachedManifest(EclipseStorageHook.java:392) at org.eclipse.core.runtime.internal.adaptor.EclipseStorageHook.getManifest(EclipseStorageHook.java:512) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.loadManifest(BaseStorage.java:316) at org.eclipse.osgi.internal.baseadaptor.BundleUpdate.begin(BundleUpdate.java:91) at org.eclipse.osgi.framework.internal.core.AbstractBundle.updateWorkerPrivileged(AbstractBundle.java:662) at org.eclipse.osgi.framework.internal.core.AbstractBundle$2.run(AbstractBundle.java:609) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.AbstractBundle.updateWorker(AbstractBundle.java:636) at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:592) at org.eclipse.osgi.framework.internal.core.AbstractBundle.update(AbstractBundle.java:575) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.installBundles(ConfigApplier.java:201) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:89) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:129) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:143) at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.zip.ZipFile.(ZipFile.java:144) at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:274) ... 39 more

ajermakovics commented 12 years ago

Thanks for reporting. Haven't tried it on Juno yet.

ajermakovics commented 12 years ago

It works with the new InstaSearch version 1.3.4 if you install using the update site: http://code.inf.unibz.it/instasearch/downloads/

For some reason Eclipse needs to be restarted two times for it to start working so leaving the bug open.

uhafner commented 12 years ago

Ok, I see. After restarting Eclipse a couple of times the search page is there and the plug-in is recognuzed. I don't know what actually causes this problem...

ajermakovics commented 12 years ago

Fixed in InstaSearch 1.4. Had to explicitly specify all Lucene lib versions