Skip to main content



      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 03:22 Go to next message
Eclipse UserFriend
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.
Re: ToolButton sometimes causes javascript error [message #1431830 is a reply to message #1431817] Fri, 26 September 2014 03:44 Go to previous messageGo to next message
Eclipse UserFriend
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 06:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi Matthias,

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

Regars,
Didier.
Re: ToolButton sometimes causes javascript error [message #1431922 is a reply to message #1431907] Fri, 26 September 2014 06:35 Go to previous messageGo to next message
Eclipse UserFriend
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 06:48] by Moderator

Re: ToolButton sometimes causes javascript error [message #1432119 is a reply to message #1431922] Fri, 26 September 2014 13:00 Go to previous message
Eclipse UserFriend
Thanks Jérémie !
Previous Topic:PRE-P2 COMPAT update site?
Next Topic:What is the idea behind ICodeRow / ILookupRow?
Goto Forum:
  


Current Time: Sun Jul 13 06:00:49 EDT 2025

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

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

Back to the top