Riena & Formtoolkit [message #531470] |
Wed, 05 May 2010 03:04  |
Eclipse User |
|
|
|
In trying to use formtoolkit in my moduleviews I get into the following problematic.
protected void basicCreatePartControl(Composite parent) {
toolkit = new FormToolkit(parent.getDisplay());
toolkit.adapt(parent);
form = toolkit.createForm(parent);
}
I get following errors
org.eclipse.riena.ui.swt.lnf.LnFUpdater Cannot create an instance of "org.eclipse.ui.internal.forms.widgets.TitleRegion"
org.eclipse.riena.core.util.ReflectionFailure: Error creating instance for org.eclipse.ui.internal.forms.widgets.TitleRegion with parameters [FormHeading {}, 570425344]!
at org.eclipse.riena.core.util.ReflectionUtils.newInstance(ReflectionUtils.java:147)
Any help is welcomed.
Thanks in advance
[Updated on: Wed, 05 May 2010 03:04] by Moderator
|
|
|
|
|
|
|
|
|
|
Re: Riena & Formtoolkit [message #532168 is a reply to message #532102] |
Fri, 07 May 2010 07:11  |
Eclipse User |
|
|
|
Am 07.05.10 10:16, schrieb Ngwa Ambe Elvis:
> Stefan Liebig wrote on Wed, 05 May 2010 20:18
>> Oh, I am very sorry! I didn't see this stack trace within my reader at
>> work.
>> I will have look at it tomorrow!
>>
>> Tschüß,
>> Stefan
>
>
> Hi Stefan,
>
> dieses Problem taucht immer dann auf wenn folgende Riena System
> Eigenschaft:
> riena.lnf.update.view auf true gesetzt wird.
> Tschüß
> Elvis
>
Hi,
I think you should file a bug in bugzilla with the complete stacktrace and we follow it from there....
thanks
christian campo
|
|
|
|
Re: Riena & Formtoolkit [message #585289 is a reply to message #585282] |
Wed, 05 May 2010 05:55  |
Eclipse User |
|
|
|
Oh, hmmm!?
From the error message:
> I get following errors
> org.eclipse.riena.ui.swt.lnf.LnFUpdater Cannot create an instance of
"org.eclipse.ui.internal.forms.widgets.TitleRegion"
> org.eclipse.riena.core.util.ReflectionFailure: Error creating
instance for org.eclipse.ui.internal.forms.widgets.TitleRegion with
parameters [FormHeading {}, 570425344]!
> at
org.eclipse.riena.core.util.ReflectionUtils.newInstance(Refl ectionUtils.java:147)
I thought that you are using 1.2 because line 147 in ReflectionUtils
points into "nothing" in version 2.0. whereas in 1.2 it points to a
throw statement.
Can you please verify this?
Tschüß,
Stefan
On 05.05.2010 11:32, Ngwa Ambe Elvis wrote:
> Hallo Stefan, thanks for the fast reply. Am actually using Riena 2.0.0.M7.
>
> Thanks in advance.
|
|
|
Re: Riena & Formtoolkit [message #585305 is a reply to message #585289] |
Wed, 05 May 2010 07:27  |
Eclipse User |
|
|
|
Hi Stefan,
indeed line 147 shows nothing. The first error log occured with 2.0.0.M6 and the second error log with 2.0.0.M7. If u take a closer look you will notice that the errors are different. With 2.0.0.M7 its unable to access a method during the reflection actions being done.
Thanks in advance
|
|
|
Re: Riena & Formtoolkit [message #585315 is a reply to message #531540] |
Wed, 05 May 2010 10:07  |
Eclipse User |
|
|
|
Sorry, I am little bit confused now. Can we concentrate on what happens
if you use the latest version of Riena 2.0M7?
Does this error happen in LnfUpdater:createDefaultControl() where the
the controlClass parameter is a TitleRegion?
Tschüß,
Stefan
On 05.05.2010 13:27, Ngwa Ambe Elvis wrote:
> Hi Stefan,
>
> indeed line 147 shows nothing. The first error log occured with 2.0.0.M6
> and the second error log with 2.0.0.M7. If u take a closer look you will
> notice that the errors are different. With 2.0.0.M7 its unable to access
> a method during the reflection actions being done.
>
> Thanks in advance
|
|
|
|
Re: Riena & Formtoolkit [message #585350 is a reply to message #531670] |
Fri, 07 May 2010 04:16  |
Eclipse User |
|
|
|
Stefan Liebig wrote on Wed, 05 May 2010 20:18
> Oh, I am very sorry! I didn't see this stack trace within my reader at work.
> I will have look at it tomorrow!
>
> Tschüß,
> Stefan
Hi Stefan,
dieses Problem taucht immer dann auf wenn folgende Riena System Eigenschaft:
riena.lnf.update.view auf true gesetzt wird.
Tschüß
Elvis
|
|
|
Re: Riena & Formtoolkit [message #585374 is a reply to message #532102] |
Fri, 07 May 2010 07:11  |
Eclipse User |
|
|
|
Am 07.05.10 10:16, schrieb Ngwa Ambe Elvis:
> Stefan Liebig wrote on Wed, 05 May 2010 20:18
>> Oh, I am very sorry! I didn't see this stack trace within my reader at
>> work.
>> I will have look at it tomorrow!
>>
>> Tschüß,
>> Stefan
>
>
> Hi Stefan,
>
> dieses Problem taucht immer dann auf wenn folgende Riena System
> Eigenschaft:
> riena.lnf.update.view auf true gesetzt wird.
> Tschüß
> Elvis
>
Hi,
I think you should file a bug in bugzilla with the complete stacktrace and we follow it from there....
thanks
christian campo
|
|
|
Powered by
FUDForum. Page generated in 0.06101 seconds