digitalmars.D.ide - Boring exceptions with Descent
- Qian Xu (29/29) Oct 19 2009 Hi Ary and All,
- Ary Borenszweig (3/24) Oct 19 2009 Hi Qian Xu,
- Qian Xu (7/35) Oct 19 2009 I cannot remember right now, but I am sure it was while typing.
- Qian Xu (5/5) Oct 19 2009 Right now it happened once, when I switched the focus back from KNode (t...
- Ary Borenszweig (2/9) Oct 19 2009 Sorry, without the source code I will not be able to reproduce it. :-(
- Qian Xu (2/12) Oct 20 2009 besides the log file of Eclipse, is there anything can be helpful?
- Qian Xu (8/18) Oct 20 2009 I think it can be anything.
- Ary Borenszweig (3/25) Oct 20 2009 Hi Qian Xu,
- Qian Xu (2/3) Oct 20 2009 Currently it works well ^^)
Hi Ary and All, I am suffering from an IDE exception recently. The log info looks as follows: ---------------------------------------------------------------------- !ENTRY org.eclipse.core.jobs 4 2 2009-10-19 14:33:17.381 !MESSAGE An internal error occurred during: "Requesting D AST from selection". !STACK 0 java.lang.NullPointerException at descent.core.dom.DefaultBindingResolver.resolveIdentifierExp(DefaultBindingResolver.java:741) at descent.core.dom.DefaultBindingResolver.resolveName(DefaultBindingResolver.java:526) at descent.core.dom.Name.resolveBinding(Name.java:88) at descent.internal.ui.search.NaiveOccurrencesFinder.initialize(NaiveOccurrencesFinder.java:74) at descent.internal.ui.javaeditor.JavaEditor.updateOccurrenceAnnotations(JavaEditor.java:3060) at descent.internal.ui.javaeditor.JavaEditor$5.selectionChanged(JavaEditor.java:3147) at descent.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:163) at descent.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup$3.run(SelectionListenerWithASTManager.java:140) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) ---------------------------------------------------------------------- Does anybody know why? I am using openSUSE 11.1 + Eclipse 3.5 + Descent (latest SVN-checkout) Best regards
Oct 19 2009
Qian Xu wrote:Hi Ary and All, I am suffering from an IDE exception recently. The log info looks as follows: ---------------------------------------------------------------------- !ENTRY org.eclipse.core.jobs 4 2 2009-10-19 14:33:17.381 !MESSAGE An internal error occurred during: "Requesting D AST from selection". !STACK 0 java.lang.NullPointerException at descent.core.dom.DefaultBindingResolver.resolveIdentifierExp(DefaultBindingResolver.java:741) ---------------------------------------------------------------------- Does anybody know why? I am using openSUSE 11.1 + Eclipse 3.5 + Descent (latest SVN-checkout) Best regardsHi Qian Xu, What's the D source code for that exception to be thrown?
Oct 19 2009
Ary Borenszweig wrote:Qian Xu wrote:descent.core.dom.DefaultBindingResolver.resolveIdentifierExp(DefaultBindingResolver.java:741)Hi Ary and All, I am suffering from an IDE exception recently. The log info looks as follows: ---------------------------------------------------------------------- !ENTRY org.eclipse.core.jobs 4 2 2009-10-19 14:33:17.381 !MESSAGE An internal error occurred during: "Requesting D AST from selection". !STACK 0 java.lang.NullPointerException atI cannot remember right now, but I am sure it was while typing. BTW: The code block within a "version" statement, cannot be folded. I regard this as a small bug. ^^) Best regards, Qian---------------------------------------------------------------------- Does anybody know why? I am using openSUSE 11.1 + Eclipse 3.5 + Descent (latest SVN-checkout) Best regardsHi Qian Xu, What's the D source code for that exception to be thrown?
Oct 19 2009
Right now it happened once, when I switched the focus back from KNode (the news reader program) to Eclipse. The error is the same. The dialog said: 'Requesting D AST from selection' has encountered a problem. An internal error occurred during: "Request D AST from selection".
Oct 19 2009
Qian Xu wrote:Right now it happened once, when I switched the focus back from KNode (the news reader program) to Eclipse. The error is the same. The dialog said: 'Requesting D AST from selection' has encountered a problem. An internal error occurred during: "Request D AST from selection".Sorry, without the source code I will not be able to reproduce it. :-(
Oct 19 2009
Ary Borenszweig wrote:Qian Xu wrote:besides the log file of Eclipse, is there anything can be helpful?Right now it happened once, when I switched the focus back from KNode (the news reader program) to Eclipse. The error is the same. The dialog said: 'Requesting D AST from selection' has encountered a problem. An internal error occurred during: "Request D AST from selection".Sorry, without the source code I will not be able to reproduce it. :-(
Oct 20 2009
Ary Borenszweig wrote:Qian Xu wrote:I think it can be anything. For instance, I just tried to modify this code block char[] jsonstring; void emit (char[] s) {jsonstring ~= s;} json.print(&emit); I moved cursor after "print(" and then typed "func". I saw this exception again.Right now it happened once, when I switched the focus back from KNode (the news reader program) to Eclipse. The error is the same. The dialog said: 'Requesting D AST from selection' has encountered a problem. An internal error occurred during: "Request D AST from selection".Sorry, without the source code I will not be able to reproduce it. :-(
Oct 20 2009
Qian Xu wrote:Ary Borenszweig wrote:Hi Qian Xu, I uploaded a new version. Can you update and see if the error is gone?Qian Xu wrote:I think it can be anything. For instance, I just tried to modify this code block char[] jsonstring; void emit (char[] s) {jsonstring ~= s;} json.print(&emit); I moved cursor after "print(" and then typed "func". I saw this exception again.Right now it happened once, when I switched the focus back from KNode (the news reader program) to Eclipse. The error is the same. The dialog said: 'Requesting D AST from selection' has encountered a problem. An internal error occurred during: "Request D AST from selection".Sorry, without the source code I will not be able to reproduce it. :-(
Oct 20 2009
Ary Borenszweig wrote:I uploaded a new version. Can you update and see if the error is gone?Currently it works well ^^)
Oct 20 2009