IDEA - hung on JavaScript for with 'in' - 3370

I have tried the following on 2 machines and it is reproducible every time:

In a .js file write the following:
for (var a in b) {}

Put the cursor between the curly brackets and press Enter.

What happens is an infinite loop and 100% CPU that never ends, so IDEA
needs to be killed through some violent measures (e.g. Task Manager).

Is that known already?

If not, I'll add a tracker item.

Thanks,
Amnon

6 comments
Comment actions Permalink

Amnon I. Govrin wrote:

I have tried the following on 2 machines and it is reproducible every time:

In a .js file write the following:
for (var a in b) {}

Put the cursor between the curly brackets and press Enter.

What happens is an infinite loop and 100% CPU that never ends, so IDEA
needs to be killed through some violent measures (e.g. Task Manager).

Is that known already?

If not, I'll add a tracker item.

Thanks,
Amnon


It seems that the same 100% CPU forever happens when I write code that
throws an exception and I choose the intention to add catch clauses.

Amnon

0
Comment actions Permalink

Amnon I. Govrin wrote:

Amnon I. Govrin wrote:

>> I have tried the following on 2 machines and it is reproducible every
>> time:
>>
>> In a .js file write the following:
>> for (var a in b) {}
>>
>> Put the cursor between the curly brackets and press Enter.
>>
>> What happens is an infinite loop and 100% CPU that never ends, so IDEA
>> needs to be killed through some violent measures (e.g. Task Manager).
>>
>> Is that known already?
>>
>> If not, I'll add a tracker item.
>>
>> Thanks,
>> Amnon


It seems that the same 100% CPU forever happens when I write code that
throws an exception and I choose the intention to add catch clauses.

Amnon


Also when I choose to add exceptions to method signature.

Amnon

0
Comment actions Permalink

Fixed.

"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:d8t6ob$qb8$1@is.intellij.net...
>I have tried the following on 2 machines and it is reproducible every time:
>

In a .js file write the following:
for (var a in b) {}

>

Put the cursor between the curly brackets and press Enter.

>

What happens is an infinite loop and 100% CPU that never ends, so IDEA
needs to be killed through some violent measures (e.g. Task Manager).

>

Is that known already?

>

If not, I'll add a tracker item.

>

Thanks,
Amnon



0
Comment actions Permalink

Eugene Vigdorchik (JetBrains) wrote:

Fixed.

Great. Thanks for the responsiveness!

Now can we get a build, patch or something?

We are really hurting on this here...

If not, I might try to go back a build or 2, but a new one would be nice
:)

Thanks,
Amnon

0
Comment actions Permalink

Please be patient,
there is no use in having yet another build with old bugs present and new
introduced, right?

Eugene.

"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:d8umjj$9es$1@is.intellij.net...

Eugene Vigdorchik (JetBrains) wrote:

>> Fixed.
>>

Great. Thanks for the responsiveness!

>

Now can we get a build, patch or something?

>

We are really hurting on this here...

>

If not, I might try to go back a build or 2, but a new one would be nice
:)

>

Thanks,
Amnon



0
Comment actions Permalink

Eugene Vigdorchik (JetBrains) wrote:

Please be patient,
there is no use in having yet another build with old bugs present and new
introduced, right?

Eugene.


New bugs? New is good :) (well, most of the time...)

I'm patient, my Thunderbird updates only every 10 minutes ;)

Thanks,
Amnon

0

Please sign in to leave a comment.