Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » ToolButton sometimes causes javascript error(ToolButton => Client Error : Details : Error: AnimationRenderer failed: b is null)
ToolButton sometimes causes javascript error [message #1431817] Fri, 26 September 2014 07:22 Go to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Everyone,

I use : Scout 3.9 / RAP Client / Linux

I have a problem with ToolButton. I have 3 toolbuttons "About", "User info", "Disconnect":
index.php/fa/19281/0/

...sometime it works and sometimes I get an error "Client Error : Details : Error: AnimationRenderer failed: b is null", whatever the button selected.
index.php/fa/19282/0/

Here is the code for "About" ToolButton, for example:
@Order(30.0)
public class AboutTool extends AbstractFormToolButton<AboutForm> {
	
	@Override
	protected void execAction() throws ProcessingException {
	
		final AboutForm form = new AboutForm();
		form.startModify();
	}
		
	@Override
	protected String getConfiguredIconId() {
	
		return Icons.About;
	}
		
	
	@Override
	protected boolean getConfiguredToggleAction() {
	
		return false;
	}
		
	@Override
	protected String getConfiguredTooltipText() {
		
		return TEXTS.get("About");
	}
}


Do you have an idea ?

With regards,

Didier.


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: ToolButton sometimes causes javascript error [message #1431830 is a reply to message #1431817] Fri, 26 September 2014 07:44 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Didier,

this was a problem in RAP and was fixed in RAP 2.2.

RAP Bugzilla entry
Scout Bugzilla entry

Best,
Matthias
Re: ToolButton sometimes causes javascript error [message #1431907 is a reply to message #1431830] Fri, 26 September 2014 10:08 Go to previous messageGo to next message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Hi Matthias,

Thank you for you quick answer !
So, I understand that there is no other solutions than migrating to Luna ?

Regars,
Didier.


Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Re: ToolButton sometimes causes javascript error [message #1431922 is a reply to message #1431907] Fri, 26 September 2014 10:35 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I am not sure but I think migration to 3.10 is sufficient. (see Upgrading 3.9 to 3.10 almost ok). I think it contains a RAP version without you bug and the migration 3.9 => 3.10 is not as big as 3.9 => 4.0.

The alternative for you is to stay with your Scout 3.9 and migrate the RAP version to a newer version. (every thing is open-source, so feel free to do it). I can not really recommend it, because it is a lot of work. It make more sense to udpate to a newer scout version.

Be aware that from an open-source/community point of view the 2 supported versions at the moment are:
* Luna (Scout 4.0.0 at the moment, Scout 4.0.1 will be released today and Scout 4.0.2 in februray 2015).
* Mars (The Mars milestones for Eclipse Scout are listed on the wiki)

Everything else is not in scope (fell free to contact us for special needs)

Side note for Scout 3.10:
In the other thread I have tried to explain what is Scout 3.10:
Jeremie Bresson wrote on Tue, 29 July 2014 16:58
This version was'nt officially released by Eclipse. Because in February 2014 we decided to create a scout version 4.0 for the Luna release train.

(...)

From the Eclipse release process point of view we dropped the scout 3.10 release.

So the Scout 3.10.0 Version is: Scout Luna-M5 + some bug fixes.
We have productive application out there with Scout 3.10.0 so you can use it.


Side note for the Mars-Release:
We plan to have additional branches like "3.10" during the Mars release train:
* 4.1.x between Mars-M2 and Mars-M3.
* 4.2.x between Mars-M4 and Mars-M5.

From an Eclipse Process point of view those branches are never officialy released. The only official Scout version for the Mars Release train is 5.0.0 comming in June 2015 (and the different milestones builds that we deliver as part of the mars release train).

Every project can decide to be on those intermediate branches (like 3.10 or the new one we have planned). But again this is not in the scope of our open-source/community support.

[Updated on: Fri, 26 September 2014 10:48]

Report message to a moderator

Re: ToolButton sometimes causes javascript error [message #1432119 is a reply to message #1431922] Fri, 26 September 2014 17:00 Go to previous message
Didier LALLEMAND is currently offline Didier LALLEMANDFriend
Messages: 18
Registered: February 2014
Junior Member
Thanks Jérémie !

Scout 3.9 with RAP (neither Swing nor SWT) / Linux
Previous Topic:PRE-P2 COMPAT update site?
Next Topic:What is the idea behind ICodeRow / ILookupRow?
Goto Forum:
  


Current Time: Fri Mar 29 07:55:17 GMT 2024

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

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

Back to the top