- This topic has 14 replies, 4 voices, and was last updated 14 years, 3 months ago by support-shalini.
-
AuthorPosts
-
mspaugh1MemberHi, I’m seeing a popup when opening MyEclipse that says: An internal error occurred during: “Update Installed JREs”. I have included the stack trace, session data, and installation summary. Can you help me diagnose this?
Thanks!
java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.initRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProjectsMap(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.blue.project.util.ProjectUtil.isMyEclipseProject(ProjectUtil.java:49)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.setContainerOnProject(RAD6ClasspathContainerInitializer.java:91)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.initialize(RAD6ClasspathContainerInitializer.java:83)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2548)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2588)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1808)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1866)
at org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:46)
at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59)
at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4759)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.rebind(LaunchingPlugin.java:298)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.access$0(LaunchingPlugin.java:263)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$1.run(LaunchingPlugin.java:251)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.doit(LaunchingPlugin.java:255)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$JREUpdateJob.run(LaunchingPlugin.java:335)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86*** Date:
Friday, July 2, 2010 2:39:36 PM EDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Blue Edition
Version: 8.5 Blue
Build id: 8.5-Blue-20100319*** Eclipse details:
MyEclipse Blue EditionVersion: 8.5 Blue
Build id: 8.5-Blue-20100319Eclipse Platform
Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB
Build id: M20100211-1343Eclipse Java Development Tools
Version: 3.5.2.r352_v20100108-7r88FEwFI0WTuoBl0iaG0tyhfZH6
Build id: M20100211-1343Eclipse Plug-in Development Environment
Version: 3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo
Build id: M20100211-1343Eclipse Graphical Editing Framework GEF
Version: 3.5.2.v20100111-1352-777928194B66D5D476C33B2A
Build id: 201001111753Eclipse RCP
Version: 3.5.2.R35x_v20100119-9SA0FxwFnoCU5XxWItFdXXb27BA6
Build id: M20100211-1343Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
support-shaliniMembermspaugh1,
Can you list out any third party plugins that you have added?Also, can you try using the -clean command as given in the link below –
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html
mspaugh1MemberHi, thanks for the reply. I added the -clean command to my startup link so it now looks like this: “C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe” -vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m -clean”. Adding -clean seems to have done the trick for the following error popups:
An internal error occurred during: “Update Installed JREs”
An internal error occurred during: “Initializing Java Tooling”However, I’m still seeing errors in my error console. These errors are as follows. I should also mention that I brought a RAD project into my workspace after installing the IDE. After doing so, I also used “Enhance RAD project to work with MyEclipse”. Further, when viewing project properties, I see that there are some missing builders and I’m wondering if those have something to do with this.
A couple examples of missing builders:
com.ibm.wtp.migration.MigrationBuilder
com.ibm.etoos.j2ee.ui.LibDirBuilder
com.ibm.etools.webtools.additions.linksbuilderProblems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.flow.UnconditionalFlowInfo.markAsDefinitelyNonNull(UnconditionalFlowInfo.java:1192)
at org.eclipse.wst.jsdt.internal.compiler.ast.FieldReference.analyseAssignment(FieldReference.java:81)
at org.eclipse.wst.jsdt.internal.compiler.ast.Assignment.analyseCode(Assignment.java:59)
at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:164)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.process(Compiler.java:598)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.compile(Compiler.java:356)
at org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:311)
at org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:168)
at org.eclipse.wst.jsdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:248)
at org.eclipse.wst.jsdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:58)
at org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:291)
at org.eclipse.wst.jsdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:199)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)AND
Problems occurred when invoking code from plug-in: “org.eclipse.jdt.ui”.
Java Model Exception: java.lang.NullPointerException
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:226)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:247)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:178)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:133)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:105)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:398)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173)
Caused by: java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.initRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProjectsMap(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.blue.project.util.ProjectUtil.isMyEclipseProject(ProjectUtil.java:49)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.setContainerOnProject(RAD6ClasspathContainerInitializer.java:91)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.initialize(RAD6ClasspathContainerInitializer.java:83)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1813)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1866)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:599)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:668)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:598)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:668)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:632)
at org.eclipse.jdt.internal.core.JavaProject.getAllPackageFragmentRoots(JavaProject.java:1350)
at org.eclipse.jdt.internal.core.JavaProjectElementInfo.getProjectCache(JavaProjectElementInfo.java:206)
at org.eclipse.jdt.internal.core.JavaProjectElementInfo.newNameLookup(JavaProjectElementInfo.java:290)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2258)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:57)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:64)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:158)
… 17 more
Caused by: java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.initRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProjectsMap(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.blue.project.util.ProjectUtil.isMyEclipseProject(ProjectUtil.java:49)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.setContainerOnProject(RAD6ClasspathContainerInitializer.java:91)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.initialize(RAD6ClasspathContainerInitializer.java:83)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1813)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1866)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:599)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:668)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:598)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:668)
at org.eclipse.jdt.internal.core.JavaProject.computePackageFragmentRoots(JavaProject.java:632)
at org.eclipse.jdt.internal.core.JavaProject.getAllPackageFragmentRoots(JavaProject.java:1350)
at org.eclipse.jdt.internal.core.JavaProjectElementInfo.getProjectCache(JavaProjectElementInfo.java:206)
at org.eclipse.jdt.internal.core.JavaProjectElementInfo.newNameLookup(JavaProjectElementInfo.java:290)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2258)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:57)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:64)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:158)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:247)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:190)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:178)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:114)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:133)
at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:105)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:398)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173)Thanks!
support-shaliniMembermspaugh1,
Can you clarify when exactly you are getting those errors?
jessewienMemberThe company I work for recently bought MEB and so far all 3 developers who installed are getting the same errors described in this post. However, when we add the -clean to myeclipse-blue.ini, we still get the errors. The “Initializing Java Tooling” progress bar stays at 1% for a few mins before it finally gives up and throws the error. The messages appear approx 3-6 mins after starting MyEclipse Blue Edition 8.5.
We have approximately 2 dozen projects (all needed) which have been migrated from WDSC v6 and NO plugins (all installs are new/fresh). The errors do NOT occur if we remove our projects from the workspace or if we close all of the projects.
Any help with resolving these errors would be appreciated. Thanks!
By the way, my myeclipse-blue.ini file looks like this:
myeclipse-blue.exe -clean
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
support-shaliniMemberjessewien,
can you give us some more information?
1. Can you copy paste your installation details from MyEclipse > installation Summary > Installation Details?
2. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
3. How did you import your projects into the current MyEclipse Blue workspace? Did you enhance your projects to work with MyEclipse?
jessewienMember1.)
*** Date:
Tuesday, July 27, 2010 8:18:39 AM EDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Blue Edition
Version: 8.5 Blue
Build id: 8.5-Blue-20100319*** Eclipse details:
MyEclipse Blue EditionVersion: 8.5 Blue
Build id: 8.5-Blue-20100319Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
myeclipse-blue.exe -clean
-install
C:/Program Files/Genuitec/MyEclipse Blue Edition 8.5
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
———————————————————————————————————–2.)
Yes, there are many errors in the log. When I start my IDE the file begins with (and there’s much more than this):
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: myeclipse-blue.exe -clean
Command-line arguments: -os win32 -ws win32 -arch x86 myeclipse-blue.exe -clean!ENTRY org.eclipse.osgi 2 1 2010-07-27 08:20:57.257
!MESSAGE NLS unused message: DeploymentManagerDialog_status_deployment_Sucessful_overwrite_mode_ in: com.genuitec.eclipse.ast.deploy.core.messages!ENTRY org.eclipse.osgi 2 1 2010-07-27 08:20:57.257
!MESSAGE NLS missing message: DeploymentManagerDialog_status_deployment_Sucessful_overwrite_mode in: com.genuitec.eclipse.ast.deploy.core.messages!ENTRY org.eclipse.jface 2 0 2010-07-27 08:21:03.601
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2010-07-27 08:21:03.601
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
,
Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
Cut the selection to the clipboard,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.handlers.WidgetMethodHandler@1fdf894,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
Category(org.eclipse.ui.category.edit,Edit,null,true),
,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)!ENTRY org.eclipse.ui.workbench 2 0 2010-07-27 08:21:04.007
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-07-27 08:21:04.007
!MESSAGE Conflict for ‘com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug’:
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@1b1acc3,
expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@1c56850,
expression=,sourcePriority=0)!ENTRY org.eclipse.core.jobs 4 2 2010-07-27 08:21:11.132
!MESSAGE An internal error occurred during: “Update Installed JREs”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getEJBProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.blue.project.util.ProjectUtil.isMyEclipseProject(ProjectUtil.java:49)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.setContainerOnProject(RAD6ClasspathContainerInitializer.java:91)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.initialize(RAD6ClasspathContainerInitializer.java:83)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2548)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2588)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1808)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1866)
at org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:46)
at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59)
at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4759)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.initialize(JREContainerInitializer.java:69)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.rebind(LaunchingPlugin.java:298)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.access$0(LaunchingPlugin.java:263)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$1.run(LaunchingPlugin.java:251)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges.doit(LaunchingPlugin.java:255)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$JREUpdateJob.run(LaunchingPlugin.java:335)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!ENTRY org.eclipse.core.jobs 4 2 2010-07-27 08:21:11.241
!MESSAGE An internal error occurred during: “Initializing Java Tooling”.
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.initRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProjectsMap(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.internal.project.AbstractJeeProjectRegistry.getProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.blue.project.util.ProjectUtil.isMyEclipseProject(ProjectUtil.java:49)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.setContainerOnProject(RAD6ClasspathContainerInitializer.java:91)
at com.genuitec.eclipse.blue.project.core.RAD6ClasspathContainerInitializer.initialize(RAD6ClasspathContainerInitializer.java:83)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2548)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2588)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1808)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:3410)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!ENTRY org.eclipse.core.resources 4 2 2010-07-27 08:21:19.101
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
!STACK 0
java.lang.NullPointerException
———————————————————————————————————–3.)
I imported my projects by right clicking in the Navigator view and going to Import >> Existing Projects into Workspace >> selecting folder of projects. I then enhanced all RAD projects to work with MyEclipse. Note: there are still some minor errors that exist in the projects, although I assume these are not related. One more thing I should note is that I am using the ClearCase SCM Adapter.
support-shaliniMemberjessewien,
I shall escalate this issue to the dev team member.
They will get back to you on this.
jessewienMemberThanks, I’ll be looking forward to their response.
jessewienMemberI still have not heard from the dev team. Any idea when I will hear from them on this issue?
Brian FernandesModeratorJessewien,
This actually appears to be a failure by the Eclipse platform to return a simple list of projects in your workspace. I have a few questions that may help us figure this out:
1) Are these projects unusually large or do they have many JARs in them?
2) Are all your team mates using ClearCase? Would it be possible to disable clearcase and test?
3) Did your colleagues create workspaces themselves or did they copy the workspace from you?
4) When you imported the projects into your workspace, did you copy them into your new workspace or leave them in their original locations?
5) When you enhanced the projects, did you specify a WAS location or did you use the inbuilt MyEclipse libraries?
6) Would it be possible to close a few projects at a time to ascertain if it is just one (or a few) projects that could be causing the problem? Then those projects can be studied further to see if there are any potential issues within.
jessewienMemberBrian, thanks for your reply. Here are the answers to your questions.
1.) No, I consider each project to be of average or small size. Altogether, they combine to power a site that is quite big though.2.) Yes, all teammates are using ClearCase. I have changed my IDE preferences to not connect to ClearCase, and I get the same error.
3.) All colleagues created their own workspace. They did not copy.
4.) When I imported I did NOT choose to copy the projects into my workspace, I kept the files in their original location… I wasn’t sure what effect copying them in would have on my ability to integrate with source control. Maybe none; I just never did that before.
5.) I think you are on to something important with this question. We used the inbuilt MyEclipse libraries by choosing to “Fix Automatically” to substitute the library with the MyEclipse library. An interesting note is that our old studio (WDSC v6) used WAS 6.0 and in our new ME project’s .classpath file still references was.base.v6. We thought we would still need that in case we can’t get ME working, then developers can resort back to WDSC. When I try to remove the line from the .classpath file I get all kinds of errors when I try running the app. Here is the line from .classpath that I’m talking about: <classpathentry kind=”con” path=”com.ibm.wtp.server.java.core.container/com.ibm.ws.ast.st.runtime.core.runtimeTarget.v60/was.base.v6″/>
6.) I did as you recommended, and some testing has revealed that the issue does not appear with any of my 10 java projects. It only happens when I open a “web project”… any one of the web projects will cause the error on IDE startup.
jessewienMemberAny update on this yet? I can add more info: I removed all references to WAS v6.0 from my projects successfully and the project is now fully compatible and using WAS v6.1. However, the error I described still occurs on every start of the IDE. We would like to fully move all of our developers to MyEclipse Blue, but we’re apprehensive due to this error. Any more details that you can provide would be appreciated.
jessewienMemberUPDATE: This is resolved. For anyone else who runs into this issue, here is how to solve it:
The ultimate issue was that along with our move to WDSC v6.0 to MEB 8.6 we moved from WAS v6.0 to WAS v6.1 and J2EE 1.4 to JEE5. Go into each project’s properties >> Java Build Path >> Libraries and remove the WebSphere Runtime. Also go to the MyEclipse >> WebSphere Target Server and choose WAS v6.1 instead of <not set>. If you use a source control system and you will need to have your .classpath, .mymetadata, and .project files checked out before you do this. Check the error log if it still doesn’t work… there may be even more files that you need checked out in order to make the change.
Next, in every project you need to change the .classpath, .mymetadata, and .runtime files: any reference to j2ee 1.4, change to 5.0, and any reference to WAS v6.0, change to v6.1. Actually, I just deleted the .runtime file completely… it doesn’t seem to be used by MyEclipse Blue. After doing this for every project, close all of the projects, and then re-open all of the projects. Restart your IDE. The errors should be gone now.
support-shaliniMemberjessewien,
Thank you for posting the resolution. I shall report the same to the dev team. -
AuthorPosts