Community
Participate
Working Groups
Build Identifier: version 3.5.2 build ID: M20100211-1343 my plugins are loaded fine with eclipse 3.3.2. But on eclipse 3.5.2, I always get class not found exception. I run the same project in debug mode in both eclipse 3.3.2 and 3.5.2. The cause to the problem I can find is due to the org.eclipse.osgi.framework.internal.core.FrameworkProperties.properties 3.3.2 properties looks all fine. but 3.5.2 properties have two entry of "-dev" and so it causes FrameworkProperties.getProperty("osgi.dev") return "" when called from org.eclipse.osgi.internal.baseadaptor.DevClassPathHelper to initialize devProperties. properties are listed below: ==================================================== FrameworkProperties.properties with eclipse 3.3.2: ==================================================== {java.vendor=Sun Microsystems Inc., osgi.bundles.defaultStartLevel=4, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot Client Compiler, os.name=Windows XP, sun.boot.class.path=C:\Program Files\Java\jre1.5.0_22\lib\rt.jar;C:\Program Files\Java\jre1.5.0_22\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_22\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_22\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_22\lib\jce.jar;C:\Program Files\Java\jre1.5.0_22\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_22\classes, osgi.ws=win32, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_22-b03, osgi.instance.area=file:/C:/p/cheshire/eclipsestudio/runtime-EclipseApplication/, user.name=rong.chen, org.eclipse.equinox.launcher.splash.handle=5899260, eclipse.pde.launch=true, user.language=en, osgi.syspath=c:\myEclipse\apps\eclipse3.3.2\eclipse\plugins, sun.boot.library.path=C:\Program Files\Java\jre1.5.0_22\bin, osgi.manifest.cache=C:\p\cheshire\eclipsestudio\workspace\.metadata\.plugins\org.eclipse.pde.core\Eclipse Application\org.eclipse.osgi\manifests, eof=eof, java.version=1.5.0_22, user.timezone=, sun.arch.data.model=32, osgi.bundles=reference:file:C:/myEclipse/apps/eclipse3.3.2/eclipse/plugins/org.eclipse.equinox.common_3.3.0.v20070426.jar@2:start,reference:file:C:/myEclipse/apps/eclipse3.3.2/eclipse/plugins/org.eclipse.update.configurator_3.2.101.R33x_v20070810.jar@3:start,reference:file:C:/myEclipse/apps/eclipse3.3.2/eclipse/plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar@start, java.endorsed.dirs=C:\Program Files\Java\jre1.5.0_22\lib\endorsed, sun.cpu.isalist=, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, osgi.checkConfiguration=true, java.class.version=49.0, user.country=US, org.eclipse.equinox.launcher.splash.location=C:\myEclipse\apps\eclipse3.3.2\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp, osgi.configuration.cascaded=false, java.home=C:\Program Files\Java\jre1.5.0_22, osgi.os=win32, eclipse.commands=-launcher C:\myEclipse\apps\eclipse3.3.2\eclipse\eclipse -name Eclipse -showsplash 600 -product org.eclipse.sdk.ide -data C:\p\cheshire\eclipsestudio\workspace/../runtime-EclipseApplication -configuration file:C:/p/cheshire/eclipsestudio/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/ -dev file:C:/p/cheshire/eclipsestudio/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86 -nl en_US , java.vm.info=mixed mode, osgi.splashLocation=C:\myEclipse\apps\eclipse3.3.2\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp, os.version=5.1, osgi.arch=x86, path.separator=;, java.vm.version=1.5.0_22-b03, user.variant=, osgi.framework.shape=jar, osgi.instance.area.default=file:/C:/Documents and Settings/Rong.Chen/workspace/, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, osgi.install.area=file:/C:/myEclipse/apps/eclipse3.3.2/eclipse/, osgi.dev=file:C:/p/cheshire/eclipsestudio/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties, osgi.framework=file:/C:/myEclipse/apps/eclipse3.3.2/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar, user.home=C:\Documents and Settings\Rong.Chen, osgi.splashPath=file:C:/myEclipse/apps/eclipse3.3.2/eclipse/plugins/org.eclipse.platform_3.3.3.r33x_r20080129, java.specification.vendor=Sun Microsystems Inc., osgi.nl=en_US, java.library.path=C:\Program Files\Java\jre1.5.0_22\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\myTool\Java\jre6\bin\client;C:\myTool\Java\jre6\bin;C:\Symyx\SymyxCheshire4.2\lib;C:\MDL\DiscoveryGate\Hop-Into;C:\myTool\apache-ant-1.7.1\bin;C:\Perl\bin\;C:\MinGW\bin;C:\Tcl\bin;c:\myTool;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\MDL Shared\isis;C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.0\EM64T\Bin;C:\Program Files\Intel\IDB\9.0\IA32\Script;C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\Program Files\Intel\IDB\9.1\IA32\Script;C:\Program Files\GnuWin32\bin;C:\Program Files\Perforce;C:\Program Files\Symyx\Symyx Draw 3.2\lib;C:\myTool\jboss-5.1.0.GA\bin;C:\myTool\Java\jdk1.6.0_16\bin;C:\Program Files\Symyx\Symyx Draw 3.3\lib;C:\Program Files\QuickTime\QTSystem\, java.vendor.url=http://java.sun.com/, eclipse.startTime=1277831098048, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=C:\myEclipse\apps\eclipse3.3.2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, java.io.tmpdir=C:\DOCUME~1\RONG~1.CHE\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, eclipse.product=org.eclipse.sdk.ide, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files\Java\jre1.5.0_22\lib\ext, user.dir=C:\myEclipse\apps\eclipse3.3.2\eclipse, line.separator= , java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252, eclipse.buildId=M20080221-1800, java.specification.version=1.5, osgi.configuration.area=file:/C:/p/cheshire/eclipsestudio/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/} ==================================================== FrameworkProperties.properties with eclipse 3.5.2: ==================================================== {java.vendor=Sun Microsystems Inc., osgi.bundles.defaultStartLevel=4, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot Client Compiler, eclipse.p2.profile=SDKProfile, os.name=Windows XP, sun.boot.class.path=C:\myTool\Java\jre6\lib\resources.jar;C:\myTool\Java\jre6\lib\rt.jar;C:\myTool\Java\jre6\lib\sunrsasign.jar;C:\myTool\Java\jre6\lib\jsse.jar;C:\myTool\Java\jre6\lib\jce.jar;C:\myTool\Java\jre6\lib\charsets.jar;C:\myTool\Java\jre6\classes, osgi.ws=win32, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_16-b01, osgi.instance.area=file:/C:/myEclipse/workspace/eclipse3.5.2/runtime-EclipseApplication/, osgi.nl.user=en_US, user.name=rong.chen, osgi.framework.extensions=, eclipse.launcher=C:\myEclipse\apps\eclipse-3.5.2\eclipse.exe, org.eclipse.equinox.launcher.splash.handle=2950756, eclipse.pde.launch=true, user.language=en, osgi.syspath=c:\myEclipse\apps\eclipse-3.5.2\plugins, sun.boot.library.path=C:\myTool\Java\jre6\bin, osgi.manifest.cache=C:\myEclipse\workspace\eclipse3.5.2\cheshire\.metadata\.plugins\org.eclipse.pde.core\Eclipse Application\org.eclipse.osgi\manifests, java.version=1.6.0_16, user.timezone=, sun.arch.data.model=32, osgi.bundles=reference:file:C:/myEclipse/apps/eclipse-3.5.2/plugins/org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100.jar@1:start, java.endorsed.dirs=C:\myTool\Java\jre6\lib\endorsed, eclipse.application=org.eclipse.ui.ide.workbench, sun.cpu.isalist=, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, osgi.checkConfiguration=true, java.class.version=50.0, user.country=US, org.eclipse.equinox.launcher.splash.location=C:\myEclipse\apps\eclipse-3.5.2\plugins\org.eclipse.platform_3.3.202.v201002111343\splash.bmp, osgi.configuration.cascaded=false, java.home=C:\myTool\Java\jre6, osgi.os=win32, eclipse.commands=-launcher C:\myEclipse\apps\eclipse-3.5.2\eclipse.exe -name Eclipse -showsplash 600 -product org.eclipse.sdk.ide -data C:\myEclipse\workspace\eclipse3.5.2\cheshire/../runtime-EclipseApplication -configuration file:C:/myEclipse/workspace/eclipse3.5.2/cheshire/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/ -dev file:C:/myEclipse/workspace/eclipse3.5.2/cheshire/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86 -nl en_US -dev , java.vm.info=mixed mode, osgi.splashLocation=C:\myEclipse\apps\eclipse-3.5.2\plugins\org.eclipse.platform_3.3.202.v201002111343\splash.bmp, os.version=5.1, osgi.arch=x86, path.separator=;, java.vm.version=14.2-b01, user.variant=, osgi.framework.shape=jar, osgi.instance.area.default=file:/C:/Documents and Settings/Rong.Chen/workspace/, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, osgi.install.area=file:/C:/myEclipse/apps/eclipse-3.5.2/, osgi.dev=, osgi.framework=file:/C:/myEclipse/apps/eclipse-3.5.2/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar, user.home=C:\Documents and Settings\Rong.Chen, org.eclipse.equinox.simpleconfigurator.configUrl=file:/C:/myEclipse/workspace/eclipse3.5.2/cheshire/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.equinox.simpleconfigurator/bundles.info, osgi.splashPath=file:C:/myEclipse/apps/eclipse-3.5.2/plugins/org.eclipse.platform_3.3.202.v201002111343, java.specification.vendor=Sun Microsystems Inc., osgi.nl=en_US, java.library.path=C:\myTool\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/myTool/Java/jre6/bin/client;C:/myTool/Java/jre6/bin;C:\Symyx\SymyxCheshire4.2\lib;C:\MDL\DiscoveryGate\Hop-Into;C:\myTool\apache-ant-1.7.1\bin;C:\Perl\bin\;C:\MinGW\bin;C:\Tcl\bin;c:\myTool;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common Files\MDL Shared\isis;C:\Program Files\Intel\Compiler\Fortran\9.0\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.0\EM64T\Bin;C:\Program Files\Intel\IDB\9.0\IA32\Script;C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin;C:\Program Files\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\Program Files\Intel\IDB\9.1\IA32\Script;C:\Program Files\GnuWin32\bin;C:\Program Files\Perforce;C:\Program Files\Symyx\Symyx Draw 3.2\lib;C:\myTool\jboss-5.1.0.GA\bin;C:\myTool\Java\jdk1.6.0_16\bin;C:\Program Files\Symyx\Symyx Draw 3.3\lib;C:\Program Files\QuickTime\QTSystem\, java.vendor.url=http://java.sun.com/, eclipse.p2.data.area=@config.dir/.p2, eclipse.startTime=1277831044437, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) SE Runtime Environment, java.class.path=C:\myEclipse\apps\eclipse-3.5.2\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar, org.eclipse.update.reconcile=false, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, java.io.tmpdir=C:\DOCUME~1\RONG~1.CHE\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, eclipse.product=org.eclipse.sdk.ide, eclipse.home.location=file:/C:/myEclipse/apps/eclipse-3.5.2/, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\myTool\Java\jre6\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, user.dir=C:\myEclipse\apps\eclipse-3.5.2, line.separator= , java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252, eclipse.buildId=M20100211-1343, java.specification.version=1.6, osgi.configuration.area=file:/C:/myEclipse/workspace/eclipse3.5.2/cheshire/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/} Reproducible: Always
Moving to PDE-UI which controls the arguments used to launch eclipse from the workspace in "dev mode".
Does "-dev" appear anywhere in your 3.5.2 launch configuration? i.e. in program arguments or VM arguments, by mistake?
It is original eclipse 3.5.2 I downloaded from eclipse.org. I have not done any change to it. (In reply to comment #2) > Does "-dev" appear anywhere in your 3.5.2 launch configuration? i.e. in program > arguments or VM arguments, by mistake?
Can you check if the eclipse.ini contains a "-dev" entry. PDE should not be adding one more if one is already present. We are looking into that.
(In reply to comment #4) > Can you check if the eclipse.ini contains a "-dev" entry. PDE should not be > adding one more if one is already present. We are looking into that. No, there is no "-dev" entry in eclipse.ini. The following is what I have in eclipse.ini: -startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Xms40m -Xmx256m
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.