Jump to page: 1 2
Thread overview
Failure to Descend
Mar 18, 2007
David B. Held
Mar 19, 2007
Ary Manzana
Mar 19, 2007
David B. Held
Mar 19, 2007
Ary Manzana
Mar 19, 2007
Ary Manzana
Mar 20, 2007
David B. Held
Mar 19, 2007
Frits van Bommel
Aug 31, 2007
junglehenge
Aug 31, 2007
Ary Manzana
March 18, 2007
Since Thunderbird threaded my last post into a 3-month old thread, I'm trying again with an error message.  I'm trying to use Descent, but when I open a D file, I get:

java.lang.IllegalArgumentException: Group not found: group.information
	at org.eclipse.jface.action.ContributionManager.addToGroup(ContributionManager.java:124)
	at org.eclipse.jface.action.ContributionManager.appendToGroup(ContributionManager.java:138)
	at org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContributionManager.java:84)
	at org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContributionManager.java:74)
	at descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.contributeToMenu(BasicJavaEditorActionContributor.java:155)
	at descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.contributeToMenu(BasicCompilationUnitEditorActionContributor.java:99)
	at descent.internal.ui.javaeditor.CompilationUnitEditorActionContributor.contributeToMenu(CompilationUnitEditorActionContributor.java:47)
	at org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarContributor.java:167)
	at org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarContributor.java:146)
	at descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.init(BasicJavaEditorActionContributor.java:130)
	at descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.init(BasicCompilationUnitEditorActionContributor.java:175)

Any ideas?

Dave
March 19, 2007
David B. Held escribió:
> Since Thunderbird threaded my last post into a 3-month old thread, I'm trying again with an error message.  I'm trying to use Descent, but when I open a D file, I get:
> 
> java.lang.IllegalArgumentException: Group not found: group.information
>     at org.eclipse.jface.action.ContributionManager.addToGroup(ContributionManager.java:124) 
> 
>     at org.eclipse.jface.action.ContributionManager.appendToGroup(ContributionManager.java:138) 
> 
>     at org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContributionManager.java:84) 
> 
>     at org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContributionManager.java:74) 
> 
>     at descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.contributeToMenu(BasicJavaEditorActionContributor.java:155) 
> 
>     at descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.contributeToMenu(BasicCompilationUnitEditorActionContributor.java:99) 
> 
>     at descent.internal.ui.javaeditor.CompilationUnitEditorActionContributor.contributeToMenu(CompilationUnitEditorActionContributor.java:47) 
> 
>     at org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarContributor.java:167) 
> 
>     at org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarContributor.java:146) 
> 
>     at descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.init(BasicJavaEditorActionContributor.java:130) 
> 
>     at descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.init(BasicCompilationUnitEditorActionContributor.java:175) 
> 
> 
> Any ideas?
> 
> Dave

Very strange. My guess is that you are using an Eclipse version that is less than 3.2 (maybe 3.1), since "group.information" was introduced in 3.2. If that's it, please download Eclipse 3.2 and tell me if it worked. I'll also see if I can tell Eclipse my plugin only works for versions >= 3.2

Thanks for reporting this,
Ary
March 19, 2007
Ary Manzana wrote:
> [...]
> Very strange. My guess is that you are using an Eclipse version that is less than 3.2 (maybe 3.1), since "group.information" was introduced in 3.2. If that's it, please download Eclipse 3.2 and tell me if it worked. I'll also see if I can tell Eclipse my plugin only works for versions >= 3.2

Straight from the About box:

Eclipse SDK

Version: 3.2.0
Build id: I20060223-1656

I did install DDT first and uninstalled it.  I also tried uninstalling Descent and reinstalling it, just to make sure.

Dave
March 19, 2007
David B. Held escribió:
> Ary Manzana wrote:
>> [...]
>> Very strange. My guess is that you are using an Eclipse version that is less than 3.2 (maybe 3.1), since "group.information" was introduced in 3.2. If that's it, please download Eclipse 3.2 and tell me if it worked. I'll also see if I can tell Eclipse my plugin only works for versions >= 3.2
> 
> Straight from the About box:
> 
> Eclipse SDK
> 
> Version: 3.2.0
> Build id: I20060223-1656
> 
> I did install DDT first and uninstalled it.  I also tried uninstalling Descent and reinstalling it, just to make sure.
> 
> Dave

I don't know if you read my other reply to your 3 month old thread, but here it goes again:

Humm... And now I read this and I read you are using Eclipse 3.2. My version is 3.2.1. Maybe they added the "group.information" menu group in 3.2.1 but in the javadoc they put "@since 3.2". Try upgrading to 3.2.1. If it still dosen't work, please tell me.

Please be patient. I'm currently working on showing semantic errors as you type by using DMD's code... and it's working! :-)

(but it'll take some time)

Ary
March 19, 2007
David B. Held wrote:
> Since Thunderbird threaded my last post into a 3-month old thread, [...]

That may just be because Thunderbird puts together posts with the same title into the same thread, even if the headers don't indicate it belongs there.
Apparently they got a lot of complaints when this behavior was removed, so they put it back in. See http://kb.mozillazine.org/Stop_threading_by_subject if you don't like it.

(This recently came up in another newsgroup with their weekly FAQ posting, which didn't contain such headers but still showed up as replies to the first such post in Thunderbird)
March 19, 2007
Ary Manzana wrote:
> Please be patient. I'm currently working on showing semantic errors as you type by using DMD's code... and it's working! :-)

That's great to hear. Keep up the good work!
March 19, 2007
Jari-Matti Mäkelä kirjoitti:
> Ary Manzana wrote:
>> Please be patient. I'm currently working on showing semantic errors as you type by using DMD's code... and it's working! :-)
> 
> That's great to hear. Keep up the good work!

Forgot to ask, does it handle type checking of templated classes too? That would be absolutely amazing.
March 19, 2007
Jari-Matti Mäkelä escribió:
> Jari-Matti Mäkelä kirjoitti:
>> Ary Manzana wrote:
>>> Please be patient. I'm currently working on showing semantic errors as
>>> you type by using DMD's code... and it's working! :-)
>> That's great to hear. Keep up the good work!
> 
> Forgot to ask, does it handle type checking of templated classes too?
> That would be absolutely amazing.

It's in my plans. Currently when doing the semantic analysis on one module I'm not taking care of symbols from other modules (that's the hard part because it is a change from DMD to use the files in the project, in the include path, etc.), but I'm taking care of symbols on the same module. So if you have

SomeType x;

you get an error on "SomeType" because it's not found, even though it may be in some other module. However if you have

class SomeType { }

SomeType x;

there's no error.

Transforming the "code - compile - see if there are errors" cycle into "code - see if there are errors" is my goal, like JDT.

You can try this new stuff (warning: not all the semantic is done yet) by getting a copy from SVN, opening the projects in Eclipse and running the descent.ui project as an Eclipse Application.

Regards,
Ary
March 20, 2007
Ary Manzana wrote:
> David B. Held escribió:
>> Ary Manzana wrote:
>>> [...]
>>> Very strange. My guess is that you are using an Eclipse version that is less than 3.2 (maybe 3.1), since "group.information" was introduced in 3.2. If that's it, please download Eclipse 3.2 and tell me if it worked. I'll also see if I can tell Eclipse my plugin only works for versions >= 3.2
>>
>> Straight from the About box:
>>
>> Eclipse SDK
>>
>> Version: 3.2.0
>> Build id: I20060223-1656
>>
>> I did install DDT first and uninstalled it.  I also tried uninstalling Descent and reinstalling it, just to make sure.
>>
>> Dave
> 
> I don't know if you read my other reply to your 3 month old thread, but here it goes again:
> 
> Humm... And now I read this and I read you are using Eclipse 3.2. My version is 3.2.1. Maybe they added the "group.information" menu group in 3.2.1 but in the javadoc they put "@since 3.2". Try upgrading to 3.2.1. If it still dosen't work, please tell me.
> [...]

Excellent...after 30 minutes of d/ling, it works great.  I was hesitant to install 3.2.2 because of problems other people have had at work. Seems to be ok so far...

Dave
August 31, 2007
== Quote from David B. Held (dheld@codelogicconsulting.com)'s
article
> Since Thunderbird threaded my last post into a 3-month old
thread, I'm
> trying again with an error message.  I'm trying to use Descent,
but when
> I open a D file, I get:
> java.lang.IllegalArgumentException: Group not found:
group.information
> 	at
> org.eclipse.jface.action.ContributionManager.addToGroup
(ContributionManager.java:124)
> 	at
> org.eclipse.jface.action.ContributionManager.appendToGroup
(ContributionManager.java:138)
> 	at
> org.eclipse.jface.action.SubContributionManager.appendToGroup
(SubContributionManager.java:84)
> 	at
> org.eclipse.jface.action.SubContributionManager.appendToGroup
(SubContributionManager.java:74)
> 	at
>
descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.cont ributeToMenu(BasicJavaEditorActionContributor.java:155)
> 	at
>
descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContr ibutor.contributeToMenu (BasicCompilationUnitEditorActionContributor.java:99)
> 	at
>
descent.internal.ui.javaeditor.CompilationUnitEditorActionContributo r.contributeToMenu(CompilationUnitEditorActionContributor.java:47)
> 	at
> org.eclipse.ui.part.EditorActionBarContributor.init
(EditorActionBarContributor.java:167)
> 	at
> org.eclipse.ui.part.EditorActionBarContributor.init
(EditorActionBarContributor.java:146)
> 	at
>
descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.init (BasicJavaEditorActionContributor.java:130)
> 	at
>
descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContr ibutor.init(BasicCompilationUnitEditorActionContributor.java:175)
> Any ideas?
> Dave

I got the same error too.
the log is :
java.lang.IllegalArgumentException: Group not found: additions
	at org.eclipse.jface.action.ContributionManager.addToGroup
(ContributionManager.java:125)
	at
org.eclipse.jface.action.ContributionManager.appendToGroup
(ContributionManager.java:139)
	at
org.eclipse.jface.action.SubContributionManager.appendToGroup
(SubContributionManager.java:84)
	at
org.eclipse.jface.action.SubContributionManager.appendToGroup
(SubContributionManager.java:74)
	at
org.eclipse.ui.texteditor.BasicTextEditorActionContributor.contribut
eToMenu(BasicTextEditorActionContributor.java:268)
	at org.eclipse.ui.part.EditorActionBarContributor.init
(EditorActionBarContributor.java:167)
	at org.eclipse.ui.part.EditorActionBarContributor.init
(EditorActionBarContributor.java:146)
	at
org.eclipse.ui.internal.EditorManager.createEditorActionBars
(EditorManager.java:312)
	at org.eclipse.ui.internal.EditorManager.createSite
(EditorManager.java:831)
	at org.eclipse.ui.internal.EditorReference.createPartHelper
(EditorReference.java:583)
	at org.eclipse.ui.internal.EditorReference.createPart
(EditorReference.java:372)

this situation just happen when i build a new menu in a RCP project. the code i add is:

MenuManager menu = new MenuManager("&Tools",
	IWorkbenchActionConstants.M_NAVIGATE);

	menu.add(resetContextAction);
	menu.add(contextAction);
...

when i change the code to this below, the problem can be solved!

MenuManager menu = new MenuManager("&Tools");

	menu.add(resetContextAction);
	menu.add(contextAction);
...

hoping this can help you, thank you!

« First   ‹ Prev
1 2