Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
October 19, 2009 Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
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 |
October 19, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Qian Xu | 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 regards
>
Hi Qian Xu,
What's the D source code for that exception to be thrown?
|
October 19, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Borenszweig | Ary Borenszweig wrote: > 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 regards >> > > Hi Qian Xu, > > > What's the D source code for that exception to be thrown? I 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 |
October 19, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Qian Xu | 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". |
October 19, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Qian Xu | 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. :-(
|
October 20, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Borenszweig | Ary Borenszweig wrote:
> 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. :-(
besides the log file of Eclipse, is there anything can be helpful?
|
October 20, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Borenszweig | Ary Borenszweig wrote:
> 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. :-(
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.
|
October 20, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Qian Xu | Qian Xu wrote:
> Ary Borenszweig wrote:
>
>> 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. :-(
>
> 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.
Hi Qian Xu,
I uploaded a new version. Can you update and see if the error is gone?
|
October 20, 2009 Re: Boring exceptions with Descent | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ary Borenszweig | Ary Borenszweig wrote:
> I uploaded a new version. Can you update and see if the error is gone?
Currently it works well ^^)
|
Copyright © 1999-2021 by the D Language Foundation