[JBoss JIRA] (JBIDE-19184) Threadlock when JS autocomplete turned on
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19184?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-19184:
---------------------------------------------
A) why can this ever block ?
B) if it can block then we must have a timeout on the request or make it asynchronous since otherwise its going to be unbearable to use.
> Threadlock when JS autocomplete turned on
> -----------------------------------------
>
> Key: JBIDE-19184
> URL: https://issues.jboss.org/browse/JBIDE-19184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.2.Final
> Environment: JBDS 8.0.2
> Reporter: Mustafa Musaji
> Assignee: Victor Rubezhny
> Priority: Critical
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha2
>
> Attachments: threaddump_jdk1.7.0_71_1422011702000.txt
>
>
> Seeing a thread lock when using large JS projects when trying to autocomplete. Please refer to attached thread dump.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBDS-3340) provide option for disable html preview
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3340?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3340:
-------------------------------------------
also marked critical since if this is true that is going to be a problem for usability of the feature since noone writes perfect and errorfree javascript :)
> provide option for disable html preview
> ---------------------------------------
>
> Key: JBDS-3340
> URL: https://issues.jboss.org/browse/JBDS-3340
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: visual-page-editor-core
> Environment: win8.1 64 eclipse luna 4.4.0 jboss 4.2.2
> Reporter: jim harber
> Assignee: Konstantin Marmalyukov
> Priority: Critical
>
> when i use tween.js to create a html page,i create an array,here is the problem:
> var eles = [];
> //push such as 500 elements into eles;
> ..
> then i need call a function to update every element in eles,when these two line:
> requestAnimationFrame(animate);
> TWEEN.update();
> already in the function,i can't see a change in preview and it makes eclipse shutdown,so i put this two line when i finish the other codes,this time preview become normal.
> every time when i type to for(var i=0;i<eles.length;i) eclipse gets stuck. so i wonder is thers any chance i can shutdown living view,i checked preferences panel i didn't find anything.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBDS-3340) provide option for disable html preview
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3340?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen commented on JBDS-3340:
-------------------------------------------
I updated the title to state the intent of this issue - providing a way to disable the html preview to avoid locking up eclipse.
[~regdeve] can you provide a sample file that gives the problem ? (I think I grok your issue where a javascript function is iterating a long array and blocking the rest but I want to be sure we are hunting the same issue)
[~kmarmaliykov] don't we have a way to turn it off already (i.e. we had setting in past to default to source view) and why is the javascript in the browser even able to block rest of eclipse - aren't it running in a non-UI thread ?
> provide option for disable html preview
> ---------------------------------------
>
> Key: JBDS-3340
> URL: https://issues.jboss.org/browse/JBDS-3340
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: visual-page-editor-core
> Environment: win8.1 64 eclipse luna 4.4.0 jboss 4.2.2
> Reporter: jim harber
> Assignee: Konstantin Marmalyukov
> Priority: Optional
>
> when i use tween.js to create a html page,i create an array,here is the problem:
> var eles = [];
> //push such as 500 elements into eles;
> ..
> then i need call a function to update every element in eles,when these two line:
> requestAnimationFrame(animate);
> TWEEN.update();
> already in the function,i can't see a change in preview and it makes eclipse shutdown,so i put this two line when i finish the other codes,this time preview become normal.
> every time when i type to for(var i=0;i<eles.length;i) eclipse gets stuck. so i wonder is thers any chance i can shutdown living view,i checked preferences panel i didn't find anything.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBDS-3340) provide option for disable html preview
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3340?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen updated JBDS-3340:
--------------------------------------
Priority: Critical (was: Optional)
> provide option for disable html preview
> ---------------------------------------
>
> Key: JBDS-3340
> URL: https://issues.jboss.org/browse/JBDS-3340
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: visual-page-editor-core
> Environment: win8.1 64 eclipse luna 4.4.0 jboss 4.2.2
> Reporter: jim harber
> Assignee: Konstantin Marmalyukov
> Priority: Critical
>
> when i use tween.js to create a html page,i create an array,here is the problem:
> var eles = [];
> //push such as 500 elements into eles;
> ..
> then i need call a function to update every element in eles,when these two line:
> requestAnimationFrame(animate);
> TWEEN.update();
> already in the function,i can't see a change in preview and it makes eclipse shutdown,so i put this two line when i finish the other codes,this time preview become normal.
> every time when i type to for(var i=0;i<eles.length;i) eclipse gets stuck. so i wonder is thers any chance i can shutdown living view,i checked preferences panel i didn't find anything.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBDS-3340) provide option for disable html preview
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBDS-3340?page=com.atlassian.jira.plugin.... ]
Max Rydahl Andersen updated JBDS-3340:
--------------------------------------
Summary: provide option for disable html preview (was: html visual editor living view)
> provide option for disable html preview
> ---------------------------------------
>
> Key: JBDS-3340
> URL: https://issues.jboss.org/browse/JBDS-3340
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: visual-page-editor-core
> Environment: win8.1 64 eclipse luna 4.4.0 jboss 4.2.2
> Reporter: jim harber
> Assignee: Konstantin Marmalyukov
> Priority: Optional
>
> when i use tween.js to create a html page,i create an array,here is the problem:
> var eles = [];
> //push such as 500 elements into eles;
> ..
> then i need call a function to update every element in eles,when these two line:
> requestAnimationFrame(animate);
> TWEEN.update();
> already in the function,i can't see a change in preview and it makes eclipse shutdown,so i put this two line when i finish the other codes,this time preview become normal.
> every time when i type to for(var i=0;i<eles.length;i) eclipse gets stuck. so i wonder is thers any chance i can shutdown living view,i checked preferences panel i didn't find anything.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19153) Unable to use hibernate console when DTD is not accessible (hibernate.org down)
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19153?page=com.atlassian.jira.plugi... ]
Koen Aers commented on JBIDE-19153:
-----------------------------------
I'll take a look at this, but I don't see it at this moment so not sure how to reproduce. I'm also in doubt whether this should be a blocker if apparently the problem has been around for years.
> Unable to use hibernate console when DTD is not accessible (hibernate.org down)
> -------------------------------------------------------------------------------
>
> Key: JBIDE-19153
> URL: https://issues.jboss.org/browse/JBIDE-19153
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.2.0.Final
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Priority: Blocker
> Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
>
>
> Inaccessible DTD causes blocking Hibernate Console usage (as DTD cannot be loaded)
> If DTD is not accessible It would be more useful to disable DTD validation rather than block further usage and just show some warning.
> {code}
> org.hibernate.HibernateException: Could not parse configuration: C:\Users\jpeterka\workspace\tmp\hb\mvn-hibernate35\src\main\java\hibernate.cfg.xml
> at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1586)
> at org.hibernate.cfg.Configuration.configure(Configuration.java:1554)
> at org.jboss.tools.hibernate.proxy.ConfigurationProxy.configure(ConfigurationProxy.java:94)
> at org.hibernate.console.ConfigurationFactory.loadConfigurationXML(ConfigurationFactory.java:350)
> at org.hibernate.console.ConfigurationFactory.configureStandardConfiguration(ConfigurationFactory.java:278)
> at org.hibernate.console.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:175)
> at org.hibernate.console.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:97)
> at org.hibernate.eclipse.console.common.HibernateExtension$5.execute(HibernateExtension.java:166)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.common.HibernateExtension.execute(HibernateExtension.java:189)
> at org.hibernate.eclipse.console.common.HibernateExtension.buildWith(HibernateExtension.java:163)
> at org.hibernate.eclipse.console.common.HibernateExtension.build(HibernateExtension.java:134)
> at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:189)
> at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:43)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:98)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:104)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:233)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.dom4j.DocumentException: Server returned HTTP response code: 503 for URL: http://hibernate.org/dtd/hibernate-configuration-3.0.dtd Nested exception: Server returned HTTP response code: 503 for URL: http://hibernate.org/dtd/hibernate-configuration-3.0.dtd
> at org.dom4j.io.SAXReader.read(SAXReader.java:484)
> at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1576)
> ... 17 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months