facebook

Class Rename Refactoring hangs

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #310994 Reply

    mkropf
    Member

    MyEclipse 8.6, try to rename a class, refactoring hangs
    This is extremely annoying.
    Can I disable genuitec’s refactoring participant somehow?

    eclipse log has following stack trace:

    org.w3c.dom.DOMException:
    at org.eclipse.wst.xml.core.internal.document.ElementImpl.insertBefore(ElementImpl.java:696)
    at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertNode(XMLModelParser.java:1309)
    at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertNode(XMLModelParser.java:1283)
    at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertCDATASection(XMLModelParser.java:883)
    at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStructuredDocumentRegion(XMLModelParser.java:1471)
    at org.eclipse.wst.xml.core.internal.document.XMLModelParser.replaceStructuredDocumentRegions(XMLModelParser.java:2287)
    at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.internalSetNewDocument(DOMModelImpl.java:595)
    at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.setStructuredDocument(DOMModelImpl.java:870)
    at org.eclipse.wst.sse.core.internal.model.AbstractModelLoader.createModel(AbstractModelLoader.java:127)
    at org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:721)
    at org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:681)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:569)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:536)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:509)
    at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1438)
    at com.genuitec.javascript.wst.integration.HTMLReferencesFinder$1.visit(HTMLReferencesFinder.java:152)
    at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
    at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:60)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:70)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:90)
    at com.genuitec.javascript.wst.integration.HTMLReferencesFinder.getChanges(HTMLReferencesFinder.java:70)
    at com.genuitec.javascript.wst.integration.HTMLRenameParticipant.createChange(HTMLRenameParticipant.java:35)
    at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:308)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:97)
    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.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    #311023 Reply

    mkropf,
    Sorry for the inconvenience. Can you give us some more information on this?
    1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
    2. Do you have any third party plugins installed?
    Also, Can you switch to a new workspace and check if the issue persists?

    #311036 Reply

    mkropf
    Member

    Installation details:
    *** Date:
    Mittwoch, 1. September 2010 14:10 Uhr MESZ

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6
    Build id: 8.6-20100806

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6
    Build id: 8.6-20100806

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Genuitec\Profiles\MyEclipse 8.6\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Genuitec\Profiles\MyEclipse 8.6\../../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\Genuitec\Profiles\MyEclipse 8.6\../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Genuitec/Profiles/MyEclipse 8.6
    -configuration
    configuration
    -vm
    C:/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    #311059 Reply

    mkropf,
    Can you clarify if the issue persists after switching to a new workspace?

    #311062 Reply

    mkropf
    Member

    created new workspace, added new project with all my source, same problem.
    Did you look at the stack trace, it strongly indicates a problem in genuitec’s HTMLReferenceFinder.
    My thoughts go into the direction of taking genuitec’s javascript tools out of the config and putting plain eclipse’s jsdt in.

    #311093 Reply

    mkropf,
    Can you try doing a re-install and run using pulse? The following are the steps
    1. Download pulse explorer from http://www.poweredbypulse.com
    2. Open pulse explorer and select “Eclipse Galileo” on the top left corner. Your profile should be listed under “My Profiles”
    3. Select your profile, right click on it and from the context menu select re-install and run.
    Let me know how that works for you.

    #311154 Reply

    mkropf
    Member

    I did a complete reinstall, still the same problem. Not ideal for me to spend hours doing trial and error approaches during a project which I should finish in time. Hoped for some insight from the stack trace. Maybe I have more time to try something else next weekend.

    #311181 Reply

    mkropf,
    Sorry for the inconvenience. I shall escalate this issue to the dev team member.
    They will get back to you on this.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Class Rename Refactoring hangs

You must be logged in to post in the forum log in