Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Typo in ActivityMessages class
Typo in ActivityMessages class [message #117289] Wed, 31 December 2008 07:02 Go to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi RAP developers,

My application uses activites and I see in console many
ClassCastExceptions. The problem is in ActivityMessages:

public static ActivityMessages get() {
Class clazz = WorkbenchMessages.class;
Object result = RWT.NLS.getISO8859_1Encoded( BUNDLE_NAME, clazz );
return ( ActivityMessages )result;
}

The first string of method should be changed to:

Class clazz = ActivityMessages.class;
Re: Typo in ActivityMessages class [message #117302 is a reply to message #117289] Wed, 31 December 2008 15:52 Go to previous message
Eclipse UserFriend
Originally posted by: ifurnadjiev.innoopract.com

Hi Boris,

this is a known bug reported here:
Wrong Message Bundle Reference in ActivityMessages
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258961
and it is already fixed in CVS HEAD.

Best,
Ivan

Boris Stepanov wrote:
> Hi RAP developers,
>
> My application uses activites and I see in console many
> ClassCastExceptions. The problem is in ActivityMessages:
>
> public static ActivityMessages get() {
> Class clazz = WorkbenchMessages.class;
> Object result = RWT.NLS.getISO8859_1Encoded( BUNDLE_NAME, clazz );
> return ( ActivityMessages )result;
> }
>
> The first string of method should be changed to:
>
> Class clazz = ActivityMessages.class;
Previous Topic:Not Well-Formed HttpServletResponse with custom widget
Next Topic:unable to make a Link widget clickable
Goto Forum:
  


Current Time: Wed Feb 01 23:55:32 GMT 2023

Powered by FUDForum. Page generated in 0.40759 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top