IDEA 9.0.2 Final + Scala Plug-in 0.3.1188 Free of Stack Overflows Follow
Hi,
I've been watching each successive nightly release of the Scala plug-in to see that it exhibits a stack overflow error when editing a couple of files form the Scalaz project. (Specifically its Arrow.scala and Tree.scala source files.) Somewhere along the line of Scala plug-in nightly releases, Tree.scala stopped triggering the stack overflow, but Arrow.scala continued to cause it. This includes the current nightly build of the plug-in, 0.3.1188.
Now, with the IDEA 9.0.2 final relase (and plug-in 0.3.1188) the stack overflow no longer occurs.
Thank you, folks!
Randall Schulz
Please sign in to leave a comment.
Hello Randall,
Is the behavior that you're seeing perhaps caused by the fact that the 9.0.2
final release has exception reporting disabled?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I don't know. How can I tell?
RRS
If you were running IDEA from windows you would edit the bin\idea.exe.vmoptions and
add the option
-ea
to add assertions
to make it look like:
-Xms256m
-Xmx1024m
-XX:MaxPermSize=250m
-ea
or the full EAP experience:
-Xms256m
-Xmx1024m
-XX:MaxPermSize=250m
-ea
-agentlib:yjpagent=disablej2ee,disablecounts,disablealloc,sessionname=IntelliJIdea90
If you are running *nix you might be able to edit an idea,sh file or add an environmental variable.
In windows that variable is REQUIRED_IDEA_JVM_ARGS.
-Rob
The stock .../bin/idea.vmoptions file includes -ea and I don't remove it.
It's not clear to me that "exception reporting" and "enable assertions" are the same thing.
RRS
Hello Randall,
Look in idea.log to check if the exception is logged there.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Yup. It looks like the Stack Overflow is still occurring.
I attached an excerpt from the log file (though I submitted an exception report from within IDEA for each nighly build of the Scala plug-in for which the exception occurred).
Randall Schulz
Attachment(s):
ScalaPlugIn-StackOverflow.txt.gz
I saw this exception. I'll try to fix it this weekend.
Best regards,
Alexander Podkhalyuzin.
Good news is that exception is just fixed. Try nightly tommorow.
Best regards,
Alexander Podkhalyuzin.
Great news. Thanks.
I'm sure everyone who wants to view or edit the Scalaz code will appreicate it, as well.
Randall Schulz
Thanks again.
Build 0.3.1207 (and 9.0.2 final, #95.66) no longer exhibits the stack overflow when viewing Scalaz's Arrow.scala source file.
Randall Schulz