MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to General Development
View previous topic Printable version Log in to check your private messages View next topic
Author Message
khoshsirat
Post subject: JavaScript Editor Freezes  PostPosted: Mar 13, 2012 - 09:04 AM



Joined: Mar 13, 2012
Posts: 11

Hi
I have MyEclipse Bling (but in the about window it is blue version: Build id: 10.0-Blue-20111028)

the problem is that in MyEclipse javascript editor when I want to copy a text using ctrl+c or Edit->Copy, the whole IDE freezes and I have to kill java proccess

In other editors it works fine

please help me
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 13, 2012 - 10:38 AM



Joined: Nov 11, 2010
Posts: 2491

khoshsirat,

Sorry that you are seeing this issue with MyEclipse.

Can you answer some more questions for us ?

1) Can you share the Installation Details from MyEclipse > Installation Summary > Installation Details ?.Also mention the OS details.

2) Is your workspace very large ? Do you have any third party plugins installed?

3) Clear the .log file which is located at <workspace dir>/.metadata/.log. Replicate the issue and attach the .log file for us to investigate.

4) Is it a .js file which you are working with ? Can you clarify if you are seeing this issue with multiple files when opened with ME JavaScript Editor?

5) If you have the chance, can you please switch to a new workspace and check if you are seeing the same issue ?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
khoshsirat
Post subject:   PostPosted: Mar 13, 2012 - 12:01 PM



Joined: Mar 13, 2012
Posts: 11

Installation Details:

*** Date:
Tuesday, March 13, 2012 2:06:07 PM IRST

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


*** MyEclipse details:
MyEclipse Blue Edition
Version: 10.0 Blue
Build id: 10.0-Blue-20111028


*** Eclipse details:
MyEclipse Blue Edition

Version: 10.0 Blue
Build id: 10.0-Blue-20111028


Eclipse Platform

Version: 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f
Build id: I20110613-1736


Eclipse Java Development Tools

Version: 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B
Build id: I20110613-1736


Eclipse Plug-in Development Environment

Version: 3.7.0.v20110504-0800-7b7qFVpFEx2XnmYtj_9RfO7
Build id: I20110613-1736

Eclipse Graphical Editing Framework GEF

Version: 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
Build id: 201105020958

Eclipse RCP

Version: 3.7.0.v20110216-9DB5Fm1FpBGy_AaVz-mFamgY
Build id: I20110613-1736


Eclipse startup command=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
D:\app\MyEclipse Bling Edition\MyEclipse Bling Edition 10\myeclipse-blue.exe
-name
Myeclipse-blue
--launcher.library
D:\app\MyEclipse Bling Edition\MyEclipse Bling Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll
-startup
D:\app\MyEclipse Bling Edition\MyEclipse Bling Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-exitdata
e34_5c
-install
D:\app\MyEclipse Bling Edition\MyEclipse Bling Edition 10
-configuration
D:\app\MyEclipse Bling Edition\MyEclipse Bling Edition 10\configuration
-vm
D:\app\MyEclipse Bling Edition\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe

My OS:
Windows 7 version 6.1 Build 7601 ServicePack 1

my workspace is large

I'm using SVN Plugin version 1.8.5 and Maven 3.0

Yes, it is a .js file

I have myEclipse version 6.0 already installed in same system (beside version 10 but in another workspace) but that is working well

I think some thing is wrong with the myEclipse JavaScript Editor. because as I mentioned earlier, it's working fine in all other myEclipse editors

as I push the ctrl+c buttons, the IDE freezes and I have to kill its proccess, so nothing will add to the Log file

there's no difference if I open one .js file or multiple files with other extensions, when I want to copy a text it immediately freezes.

I have installed the Aptana Studio Plugin (for editing the .js file) and it's also working fine as other editors
 
 View user's profile Send private message  
Reply with quote Back to top
support-denis
Post subject:   PostPosted: Mar 13, 2012 - 04:20 PM
Registered Member
Registered Member


Joined: Sep 26, 2011
Posts: 30

khoshsirat,

Please try opening Windows->Preferences global menu, then navigate to MyEclipse->Files and Editors->Java Script->Editor->Typing. Turn off everything in "When pasting" group and let me know if it helps.

If the solution above does not help, please try creating a new workspace, creating a simple web project using ME wizard, then importing a single JS file (you got issues with in an old workspace) and check whether ctrl+c works this time. So, new workspace, simple project, single JS file.

Also please let me know if this issue appeared before you installed Aptana or after that.

Best regards,
Denis.
 
 View user's profile Send private message  
Reply with quote Back to top
khoshsirat
Post subject:   PostPosted: Mar 14, 2012 - 07:22 AM



Joined: Mar 13, 2012
Posts: 11

this issue appeared before I installed Aptana.

today I wanted to "Turn off everything in 'When pasting' group", but before that, I just changed the proxy settings (in our company we are using a proxy to connect to internet)
now it's working fine and I can't force the IDE to freeze again.

I think there's something wrong with the proxy setting. because when I change the proxy setting the log file repeatedly contains this:

!ENTRY org.eclipse.core.net 1 0 2012-03-14 09:14:10.945
!MESSAGE System property https.proxyHost is set to 192.168.0.11 but should not be set.

!ENTRY org.eclipse.core.net 1 0 2012-03-14 09:14:10.947
!MESSAGE System property https.proxyPort is set to 8080 but should not be set.

and also when I open the myEclipse JavaScript editor, the Progress view contains several job with this name:
Requesting JavaScript AST from selection
 
 View user's profile Send private message  
Reply with quote Back to top
khoshsirat
Post subject:   PostPosted: Mar 14, 2012 - 02:18 PM



Joined: Mar 13, 2012
Posts: 11

hi again
I found the reason. It's because of proxy setting
we are using a proxy server to connect to internet in our company
when I set the network connection setting on direct mode, the javaScript editor can not connect to Internet and the IDE Freezes.

but other editors are working well, so the problem is with the MyEclipse JavaScript Editor
 
 View user's profile Send private message  
Reply with quote Back to top
khoshsirat
Post subject:   PostPosted: Mar 14, 2012 - 04:59 PM



Joined: Mar 13, 2012
Posts: 11

I turned off 'Update Imports' (from Windows->Preferences->MyEclipse->Files and Editors->Java Script->Editor->Typing) and it worked

Thank you
 
 View user's profile Send private message  
Reply with quote Back to top
support-denis
Post subject:   PostPosted: Mar 15, 2012 - 12:02 AM
Registered Member
Registered Member


Joined: Sep 26, 2011
Posts: 30

khoshsirat,

What happens if you put your old proxy settings back? Does it start freezing again on Ctrl+C?

Also please let me know if it freezed -only- after pushing Ctrl+C or there was a chance to freeze on just selection.

Best regards,
Denis.
 
 View user's profile Send private message  
Reply with quote Back to top
khoshsirat
Post subject:   PostPosted: Mar 15, 2012 - 06:28 AM



Joined: Mar 13, 2012
Posts: 11

when I select a text, it doesn't freeze
only when I press ctrl+c or select 'Copy' from 'Edit' menu, it freezes

I don't know if it help you but I have turned off all validations

if I turn on 'Update Imports' and I have direct access to internet, it doesn't freeze

if I turn on 'Update Imports' and I have indirect access to internet, it freezes, even when I configure network settings correctly (yesterday I had direct access to internet)

anyway, the main point is that other editors(for example: MyEclipse JSP Editor) are working fine
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits