internal error has occured...you may need to restart - IDEA endless loop

I seem to be getting a lot of these modifying XML, which I understand is
undergoing some improvement. The biggest problem, however, is the endless
loop that doesn't allow you to ignore the problem.

Is there a setting I can tweak to "truly" ignore the problem?

Put another way, the XML (or any other bug) isn't the problem. The
inability to ignore internal errors is the problem.

Why ask me if I want to ignore the problem when you wont let me ignore it?

:)

Michael.


8 comments

Simply disable the DIALOG appender in the log4j-configuration for IDEA (should be IDEA_HOME/bin/log4j.xml).

HTH,
Yann

0

Well...

I want the messages to go to the dialog box...I just dont want the see the
same message in a loop after pressing "ignore".

The "what part of ignore don't you understand...didn't you hear me the
first time?" is the part I want fixed.

:)

(it's been a long day)


"Yann Cebron" <no_mail@jetbrains.com> wrote in message
news:13549593.1104961135924.JavaMail.itn@is.intellij.net...

Simply disable the DIALOG appender in the log4j-configuration for IDEA
(should be IDEA_HOME/bin/log4j.xml).

>

HTH,
Yann



0

Michael, if you hit the point where an exception is happening over and over again, it's just not a thing you can ignore and continue working. Shutdown IDEA, and try restarting it.

0

Cleaning the IDEA system folder may also help you.

Franklin.

Marcus Brito wrote:

Michael, if you hit the point where an exception is happening over and over again, it's just not a thing you can ignore and continue working. Shutdown IDEA, and try restarting it.

0

I'm not so sure about that Marcus. I understand the principle. But editing
an XML document should not cause an endless loop.

The thrust of my point is that I shouldn't be presented with an option to
ignore an error, if I cant ignore it. Sometimes, under other scenarios, the
ignore button does just that--it closes the dialog box and lets me continue.
But particularly when working with XML, it goes into endless loops due to
parsing problems in the IDEA engine (that's my guess).

Inability to parse XML cannot possible be that serious as to require a
restart. Furthermore, attempting to change the XML causes problems. It will
attempt to reparse on every keystroke (roughly) and if the new, yet
incomplete, syntax is not palatable to IDEA, you get another dialog box. So
you restart again. And try to correct the XML. And you restart again.
Keystroke by keystoke, you restart until you get tired of trying to get it
right in IDEA and you fix it offline in TextPad/Notepad and then paste it in
IDEA and move on.

I believe the XML parser is undergoing some work and in time I'm sure
they'll get it right. It is the inability to interpret ignore as ignore
that is the problem. If I wanted to shutdown IDEA, there is a button for me
to do that. I chose not to do that. I chose to ignore. But choosing
ignore is sometimes useless. Not all the time. But sometimes, depending on
the nature of the error.

Maybe they flag some errors as "super critical" and cannot be ignored. (If
so, I would prefer they disable the ignore button rather than letting me
chose it only to say no). XML parsing is not one of these super critical
errors and maybe they can adjust the flag if such a flag is used.

Thanks for your time though...sometimes just expressing these frustrations
help.

Michael.


"Marcus Brito" <mbrito@gmail.com> wrote in message
news:12156106.1105015995761.JavaMail.itn@is.intellij.net...

Michael, if you hit the point where an exception is happening over and
over again, it's just not a thing you can ignore and continue working.
Shutdown IDEA, and try restarting it.



0

Michael Morett wrote:

>Thanks for your time though...sometimes just expressing these frustrations
>help.

>

This is IDEA's self-help group: cheaper than phone-sex, and better at
solving your XML related problems (**1).
Tell your friends about it.


Alain


**1 : for other problems, read your email (search for titles like
"che@per VI$GR#", "m0rt&age", "satisf# your partner")...

0

Michael, you're asking too much from IDEA in a situation that it just can't be helped. For some unkown reason, IDEA is hosed and can't figure out what's going on: that's why you get the error dialog in the first place.

If IDEA knew the cause of the problem (and thus being able to decide if it's safe to continue or not), the problem would be handled gracefully and you wouldn't get the dialog in the first place!

Think about this. Discuss with your friends. Bugaholic Anonymous, we're here to help you.

0

Marcus,

If IDEA knew the cause of the problem (and thus being able to decide if
it's safe to continue or not), the problem would be handled gracefully and
you wouldn't get the dialog in the first place!


Sorry, but I disagree. This is a UI issue. Maybe it's only relevant to
EAPers but the fact remains that I am being presented with an option to
ignore an error and IDEA will not ignore it. It is not the dialog box I am
trying to do away with. (There was a problem and IDEA noticed it. So be
it. This is a good thing) What I was hoping for was seemingly reasonable:
when you present me with a question, do not discard my answer. If you are
going to do that, then dont ask me the question in the first place. Hence,
when IDEA displays the dialog upon an error, do not offer me the Ignore
option and disregard my choice if I choose to ignore.

There is no way anyone is going to convince me that, from a UI perspective,
presenting a user an option and then disregarding it is acceptable. And
IDEA is not alone here. On Windows, I'll sometimes find a task that I just
cannot end despite the "End Task" radio button when you press Ctrl Alt Del.
Or better yet, the option to Shutdown from the same place, and yet the
machine refuses to shut down. On those occasions, I pull the power cord,
and yank the battery on my laptop as if to say "I guess you didn't hear
me...I said I wanted to Shutdown".

So with IDEA, I suspect the true answer is "Mike, this is a pain in the ass
to fix and with all the things on our plate, this is a low value added
feature when compared to the functionality we're trying to provide for our
next release." That's a fair answer and I suspect it's probably the truth.

As to...

If IDEA knew the cause of the problem (and thus being able to decide if
it's safe to continue or not), the problem would be handled gracefully and
you wouldn't get the dialog in the first place!



Not true. I get this dialog for bad plugins and/or other errors and IDEA
doesn't always go into an endless loop if I choose Ignore. Wanna wager on
this? I got a few bad plugins I could email you. I guarantee you IDEA
won't go into an endless loop upon detecting one of these.

:)



"Marcus Brito" <mbrito@gmail.com> wrote in message
news:231477.1105041153847.JavaMail.itn@is.intellij.net...

Michael, you're asking too much from IDEA in a situation that it just
can't be helped. For some unkown reason, IDEA is hosed and can't figure
out what's going on: that's why you get the error dialog in the first
place.

>

If IDEA knew the cause of the problem (and thus being able to decide if
it's safe to continue or not), the problem would be handled gracefully and
you wouldn't get the dialog in the first place!

>

Think about this. Discuss with your friends. Bugaholic Anonymous, we're
here to help you.



0

Please sign in to leave a comment.