www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Failure to Descend

reply "David B. Held" <dheld codelogicconsulting.com> writes:
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
Mar 18 2007
next sibling parent reply Ary Manzana <ary esperanto.org.ar> writes:
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(Contribut
onManager.java:124) 
 
     at 
 org.eclipse.jface.action.ContributionManager.appendToGroup(Contribut
onManager.java:138) 
 
     at 
 org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContribu
ionManager.java:84) 
 
     at 
 org.eclipse.jface.action.SubContributionManager.appendToGroup(SubContribu
ionManager.java:74) 
 
     at 
 descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.contributeToMenu(BasicJavaEditorActionC
ntributor.java:155) 
 
     at 
 descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.contributeToMenu(BasicCompilationUnitEditorAction
ontributor.java:99) 
 
     at 
 descent.internal.ui.javaeditor.CompilationUnitEditorActionContributor.contributeToMenu(CompilationUnitEditorAction
ontributor.java:47) 
 
     at 
 org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarC
ntributor.java:167) 
 
     at 
 org.eclipse.ui.part.EditorActionBarContributor.init(EditorActionBarC
ntributor.java:146) 
 
     at 
 descent.internal.ui.javaeditor.BasicJavaEditorActionContributor.init(BasicJavaEditorActionC
ntributor.java:130) 
 
     at 
 descent.internal.ui.javaeditor.BasicCompilationUnitEditorActionContributor.init(BasicCompilationUnitEditorActionC
ntributor.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
Mar 18 2007
parent reply "David B. Held" <dheld codelogicconsulting.com> writes:
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
Mar 18 2007
parent reply Ary Manzana <ary esperanto.org.ar> writes:
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
Mar 19 2007
next sibling parent reply =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
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!
Mar 19 2007
parent reply =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
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.
Mar 19 2007
parent Ary Manzana <ary esperanto.org.ar> writes:
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
Mar 19 2007
prev sibling parent "David B. Held" <dheld codelogicconsulting.com> writes:
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
Mar 20 2007
prev sibling next sibling parent Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
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)
Mar 19 2007
prev sibling parent reply junglehenge <junglehenge 126.com> writes:
== 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!
Aug 31 2007
parent Ary Manzana <ary esperanto.org.ar> writes:
I understood the first part, but not the second (are you writing an RCP 
project on top of Descent?).

If I remember well, the exception happens because you are using an 
Eclipse version that is too old for Descent. You need at least Eclipse 
3.2. Which one do you have?

Regards,
Ary

junglehenge wrote:
 == 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!
Aug 31 2007