- This topic has 6 replies, 3 voices, and was last updated 17 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Cal HolmanParticipantEclipse 3.2.2 and MyEclipse 5.1.1
Everytime I change the classpath variables and need to rebuild my projects the HTML Validator starts up and runs for several minutes for several projects then hangs and cannot be cancelled. I must kill Eclipse and restart. I can turn off validation but would like this to work.
Riyad KallaMemberholmanc,
Can you go to your MyElcipse > Installation Summary > Installation Details menu, and paste the results here for me?
Cal HolmanParticipant*** Date:
Monday, April 2, 2007 8:06:53 PM EDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.1 GA
Build id: 20070302-5.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.2
Build id: M20070212-1330Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse-3.2.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
15cc_77c
-data
C:\Dev\projects\_eclipse_workspace_3.2.1
-vm
C:\Program Files\Java\jdk1.5.0_11\bin\javaw.exe
Riyad KallaMemberYour install looks fine, I don’t know why the HTML validator would be hanging on you. Can you check your log file (<workspace dir>\.metadata\.log) near the end looking towards the end for any exceptions that may suggest what is making the validator mad?
Cal HolmanParticipantI cannot figure out how to attach a file in your forum. There are several of these:
!ENTRY com.genuitec.eclipse.javascript 1 0 2007-05-10 20:51:12.078
!MESSAGE
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: /villagewalk/build/doc/public/clover/historical_html/utils.js.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:606)
at org.eclipse.core.internal.resources.File.getContents(File.java:290)
at org.eclipse.core.internal.resources.File.getContents(File.java:279)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.getScriptBody(JavaScriptValidator.java:302)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateFile(JavaScriptValidator.java:539)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:503)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:505)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:505)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:505)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:505)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateContainer(JavaScriptValidator.java:505)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validateFull(JavaScriptValidator.java:556)
at com.genuitec.eclipse.javascript.validation.JavaScriptValidator.validate(JavaScriptValidator.java:418)
at org.eclipse.wst.validation.internal.core.ValidatorLauncher.start(ValidatorLauncher.java:104)
at org.eclipse.wst.validation.internal.operations.ValidationOperation.launchValidator(ValidationOperation.java:1294)
at org.eclipse.wst.validation.internal.operations.ValidationOperation.internalValidate(ValidationOperation.java:1109)
at org.eclipse.wst.validation.internal.operations.ValidationOperation.validate(ValidationOperation.java:1001)
at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:661)
at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:263)
at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:255)
at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:196)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:271)
at org.eclipse.jdt.internal.ui.util.CoreUtility$BuildJob.run(CoreUtility.java:146)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SUBENTRY 1 org.eclipse.core.resources 4 274 2007-05-10 20:51:12.078
!MESSAGE Resource is out of sync with the file system: /villagewalk/build/doc/public/clover/historical_html/utils.js.And this
!ENTRY org.eclipse.core.resources 4 2 2007-05-10 20:50:52.562
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.dialogs.IconAndMessageDialog.getSWTImage(IconAndMessageDialog.java:270)
at org.eclipse.jface.dialogs.IconAndMessageDialog.getWarningImage(IconAndMessageDialog.java:227)
at org.eclipse.jface.dialogs.MessageDialog.<init>(MessageDialog.java:153)
at org.eclipse.jface.dialogs.MessageDialog.openWarning(MessageDialog.java:385)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.loadModules(StrutsProjectRegistry.java:415)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.registerModules(StrutsProjectRegistry.java:302)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.getModuleRefList(StrutsProjectRegistry.java:438)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.getModuleRefList(StrutsProjectRegistry.java:430)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.resourceChanged(StrutsProjectRegistry.java:498)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1746)
at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
AmosMemberI take it you’ve done a “Project > Clean…”? I had a similar problem with the validation locking up until Riyad asked me to manually “clean” the project in this post.
Riyad KallaMemberIn addition to what aaamos mentioned, please be sure to Right-Click “Refresh” the root of your project before you clean (I noticed the ‘resource out of sync’ exception)
-
AuthorPosts