This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239977 - Can't save some Javascriot File (ExtJS)
Summary: Can't save some Javascriot File (ExtJS)
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-04 02:21 UTC by wemerson.januario
Modified: 2014-02-17 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log do IDE (33.68 KB, text/plain)
2014-01-04 02:21 UTC, wemerson.januario
Details
error screen (109.69 KB, image/png)
2014-01-04 02:34 UTC, wemerson.januario
Details
EXTJS Javascript file example (6.63 KB, application/javascript)
2014-01-05 20:19 UTC, wemerson.januario
Details
ide freeze (87.98 KB, image/png)
2014-01-06 13:46 UTC, wemerson.januario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wemerson.januario 2014-01-04 02:21:01 UTC
When save Javascript files (ex. ExtJS Class) and if cursor is into some string block code. Netbeans start load(saving) and never stops. need to restart IDE and try again. I am able to provive more info about this bug.

Thanks!

Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Comment 1 wemerson.januario 2014-01-04 02:21:10 UTC
Created attachment 143594 [details]
Log do IDE
Comment 2 wemerson.januario 2014-01-04 02:34:09 UTC
Created attachment 143595 [details]
error screen

This screenshoot show how erros is like. I wrote some codes on line 114 and ctrl+s (tried to save) but IDE keep loading forever. (need to restart the IDE) and file didn't save.
Comment 3 Vladimir Riha 2014-01-05 20:06:26 UTC
Would it be possible to attach the JS file where you can reproduce it?
Comment 4 wemerson.januario 2014-01-05 20:19:28 UTC
Created attachment 143611 [details]
EXTJS  Javascript file example

Sometimes while saving changes in some ExtJS files fails.
This problem appearns in many JS Extjs files , when you put cursors inside strings declaration with dots. At time I can't reproduce error because is very intermitent.
Comment 5 Vladimir Riha 2014-01-06 07:23:08 UTC
Thank you for the sample. I guess this is the same issue as in bug 239832 ?
Comment 6 Vladimir Riha 2014-01-06 07:58:46 UTC
I've been trying to reproduce it but without any luck. Once it happens again, could you please create 2-3 thread dumps (with ~1min interval between them) ? See 

http://wiki.netbeans.org/GenerateThreadDump

for more information. Thank you in advance
Comment 7 wemerson.januario 2014-01-06 13:46:30 UTC
Created attachment 143627 [details]
ide freeze

This is freeze while saving JS file. The thread dump is empty I have opened IDE netbeans.exe --console new but nothing happens when accurs the bug(freeze) while saving in Console (MS-DOS) window. Am I doing something wrong? Please feel free to ask me
Comment 8 Petr Pisl 2014-02-17 10:25:24 UTC
I can not reproduce it with the dev build. I remember that I have fixed some recursions in NB 8.0 timeframe. Please reopen, if you are able to reproduce it with NB 8.0