| Home » Eclipse Projects » Remote Application Platform (RAP) » Strange JS Error with CoolBar Control Contributions
 Goto Forum:| 
| Strange JS Error with CoolBar Control Contributions [message #121142] | Tue, 10 February 2009 15:19  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: benjamin.wolff.web.de 
 Hello,
 
 
 i'm encountering a very strange JS Error using Control Contributions with the main app coolbar.
 
 i configure the main coolbar with the org.eclipse.ui.menu extension point (menuContribution with locationURI="toolbar:org.eclipse.ui.main.toolbar">).
 There i add a toolbar and to the toolbar control contribution, according to the Eclipse 3.3 menu mechanism. there are 3 controls and every control
 has a visibleWhen clause referencing a org.eclipse.core.expressions.definitions extension point which looks like this:
 
 <extension
 point="org.eclipse.core.expressions.definitions">
 <definition
 id="de.azubidb.definitions.perspective.verwaltung">
 <with
 variable="activeWorkbenchWindow.activePerspective">
 <equals
 value="de.azubidb.perspectives.verwaltung">
 </equals>
 </with>
 </definition>
 </extension>
 
 this definition is true when the active perspective is the one identified by the string in the equals element. i use this to contribute controls to the
 app coolbar according to the different perspectives (different user roles).
 
 long story short, when i login, which means switching the perspective to the one above, the following JS error is displayed:
 
 
 Could not evaluate javascript response:
 
 TypeError: $3[$6] is undefined
 
 org.eclipse.swt.EventUtil.suspendEventHandling();var req =  org.eclipse.swt.Request.getInstance();req.setRequestCounter( "11" );var wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose( "w572"
 );wm.dispose( "w573" );...................<output omitted>
 
 
 but this error only occurs when i have 3 or more controls contributing to the coolbar, if i only use 2, doesn't matter which 2 of the 3, the error doesn't show up. moreover the error only occurs
 when the controls are initially (upon starting the application) not visible and are made visible by the definition clause. when i start the application directly with the correct perspective
 the error also doesn't occur.
 
 i can exclude any problems with the content of the controls, the same thing happens when the controls are empty (e.g. returning an empty composite).
 
 i know this description is pretty vague, but before i dig deeper into this and provide some snippets and further descriptions i'd like to ask, whether a similar misbehaviour is already
 known or if there is someone else experiencing familiar problems?!?
 
 the error is quite confusing because the definitions mechanism (visibleWhen mechanism) works perfectly with contributions to the main application menu...
 
 the error occurs using RAP M4 target as well as the current CVS HEAD.
 
 i hope the problem has become clear at least half way :))).
 
 any feedback would be highly appreciated.
 
 greetings,
 ben
 |  |  |  |  | 
| Re: Strange JS Error with CoolBar Control Contributions [message #121218 is a reply to message #121142] | Wed, 11 February 2009 06:29   |  | 
| Eclipse User  |  |  |  |  | Originally posted by: benjamin.wolff.web.de 
 This is a multi-part message in MIME format.
 --------------010203060903010806020703
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hello again,
 
 i fixed up a self-containing plugin project, based on the "Hello RAP with a View" Template, and attached it to this message.
 
 launch the project as a RAP Application (against M4 target or CVS) and push the large button "Switch Perspective" and the JS
 error should appear.
 
 the plugin.xml extensions editor will show what i did. the expressions.definition becomes true when the other perspective
 becomes active. take a look at the menu extension point. removing a single control from the toolbar (coolbar) and the error is
 gone. add another control to the 3 and the error persists. also adding other contributions than controls (commands e.g.) result
 in the same error, it seems to origin in the visibleWhen combination.
 
 btw, another bug can be seen in this snippet, when the coolbar is empty the height is set to 64px screwing up the hole layout. but this
 is a known SWT bug and is not related to RAP.
 
 since this is a blocking issue for me i'd really appreciate some hints. maybe i'm doing something wrong or there is a workaround? i couldn't
 find one yet.
 
 thx in advance!
 
 greetings,
 ben
 
 
 
 
 Ben W. schrieb:
 > Hello,
 >
 >
 > i'm encountering a very strange JS Error using Control Contributions
 > with the main app coolbar.
 >
 > i configure the main coolbar with the org.eclipse.ui.menu extension
 > point (menuContribution with
 > locationURI="toolbar:org.eclipse.ui.main.toolbar">).
 > There i add a toolbar and to the toolbar control contribution, according
 > to the Eclipse 3.3 menu mechanism. there are 3 controls and every control
 > has a visibleWhen clause referencing a
 > org.eclipse.core.expressions.definitions extension point which looks
 > like this:
 >
 >    <extension
 >          point="org.eclipse.core.expressions.definitions">
 >       <definition
 >             id="de.azubidb.definitions.perspective.verwaltung">
 >          <with
 >                variable="activeWorkbenchWindow.activePerspective">
 >             <equals
 >                   value="de.azubidb.perspectives.verwaltung">
 >             </equals>
 >          </with>
 >       </definition>
 >    </extension>
 >
 > this definition is true when the active perspective is the one
 > identified by the string in the equals element. i use this to contribute
 > controls to the
 > app coolbar according to the different perspectives (different user roles).
 >
 > long story short, when i login, which means switching the perspective to
 > the one above, the following JS error is displayed:
 >
 >
 > Could not evaluate javascript response:
 >
 > TypeError: $3[$6] is undefined
 >
 > org.eclipse.swt.EventUtil.suspendEventHandling();var req =
 >  org.eclipse.swt.Request.getInstance();req.setRequestCounter( "11" );var
 > wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose( "w572"
 > );wm.dispose( "w573" );...................<output omitted>
 >
 >
 > but this error only occurs when i have 3 or more controls contributing
 > to the coolbar, if i only use 2, doesn't matter which 2 of the 3, the
 > error doesn't show up. moreover the error only occurs
 > when the controls are initially (upon starting the application) not
 > visible and are made visible by the definition clause. when i start the
 > application directly with the correct perspective
 > the error also doesn't occur.
 >
 > i can exclude any problems with the content of the controls, the same
 > thing happens when the controls are empty (e.g. returning an empty
 > composite).
 >
 > i know this description is pretty vague, but before i dig deeper into
 > this and provide some snippets and further descriptions i'd like to ask,
 > whether a similar misbehaviour is already
 > known or if there is someone else experiencing familiar problems?!?
 >
 > the error is quite confusing because the definitions mechanism
 > (visibleWhen mechanism) works perfectly with contributions to the main
 > application menu...
 >
 > the error occurs using RAP M4 target as well as the current CVS HEAD.
 >
 > i hope the problem has become clear at least half way :))).
 >
 > any feedback would be highly appreciated.
 >
 > greetings,
 > ben
 
 --------------010203060903010806020703
 Content-Type: application/zip;
 name="coolbar_contribution_issue_snippet.zip"
 Content-Transfer-Encoding: base64
 Content-Disposition: inline;
 filename="coolbar_contribution_issue_snippet.zip"
 
 UEsDBBQACAAIAAtiSzoAAAAAAAAAAAAAAAAlAAAAY29vbGJhci5jb250cmli dXRpb24uaXNz
 dWUvLmNsYXNzcGF0aJWQwWoCMRCGzy30HZbcna2X0sNupZQtKFSLbnuVmAzr 1H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Nz dWUvc3JjL2Nv
 b2xiYXIvY29udHJpYnV0aW9uL2lzc3VlL1dvcmtiZW5jaFdpbmRvd0NvbnRy b2xDb250cmli
 dXRpb24xLmphdmFQSwECFAAUAAgACAALYks6Br7/7qYBAABfBAAAYgAAAAAA AAAAAAAAAADU
 OQAAY29vbGJhci5jb250cmlidXRpb24uaXNzdWUvc3JjL2Nvb2xiYXIvY29u dHJpYnV0aW9u
 L2lzc3VlL1dvcmtiZW5jaFdpbmRvd0NvbnRyb2xDb250cmlidXRpb24yLmph dmFQSwECFAAU
 AAgACAALYks6yO1zghMBAACpAgAAYgAAAAAAAAAAAAAAAAAKPAAAY29vbGJh ci5jb250cmli
 dXRpb24uaXNzdWUvc3JjL2Nvb2xiYXIvY29udHJpYnV0aW9uL2lzc3VlL1dv cmtiZW5jaFdp
 bmRvd0NvbnRyb2xDb250cmlidXRpb24zLmphdmFQSwUGAAAAABwAHABSDQAA rT0AAAAA
 --------------010203060903010806020703--
 |  |  |  |  | 
| Re: Strange JS Error with CoolBar Control Contributions [message #121226 is a reply to message #121218] | Wed, 11 February 2009 06:56   |  | 
| Eclipse User  |  |  |  |  | Hi Ben, 
 I was just about to write that I cannot reproduce it :)
 
 Thanks for the sample project - I see the same error as you do. Would
 you mind to open a bug with the snippet? Thanks!
 
 Cheers
 Benny
 
 Ben W. wrote:
 > Hello again,
 >
 > i fixed up a self-containing plugin project, based on the "Hello RAP
 > with a View" Template, and attached it to this message.
 >
 > launch the project as a RAP Application (against M4 target or CVS) and
 > push the large button "Switch Perspective" and the JS
 > error should appear.
 >
 > the plugin.xml extensions editor will show what i did. the
 > expressions.definition becomes true when the other perspective
 > becomes active. take a look at the menu extension point. removing a
 > single control from the toolbar (coolbar) and the error is
 > gone. add another control to the 3 and the error persists. also adding
 > other contributions than controls (commands e.g.) result
 > in the same error, it seems to origin in the visibleWhen combination.
 >
 > btw, another bug can be seen in this snippet, when the coolbar is empty
 > the height is set to 64px screwing up the hole layout. but this
 > is a known SWT bug and is not related to RAP.
 >
 > since this is a blocking issue for me i'd really appreciate some hints.
 > maybe i'm doing something wrong or there is a workaround? i couldn't
 > find one yet.
 >
 > thx in advance!
 >
 > greetings,
 > ben
 >
 >
 >
 >
 > Ben W. schrieb:
 >> Hello,
 >>
 >>
 >> i'm encountering a very strange JS Error using Control Contributions
 >> with the main app coolbar.
 >>
 >> i configure the main coolbar with the org.eclipse.ui.menu extension
 >> point (menuContribution with
 >> locationURI="toolbar:org.eclipse.ui.main.toolbar">).
 >> There i add a toolbar and to the toolbar control contribution,
 >> according to the Eclipse 3.3 menu mechanism. there are 3 controls and
 >> every control
 >> has a visibleWhen clause referencing a
 >> org.eclipse.core.expressions.definitions extension point which looks
 >> like this:
 >>
 >>    <extension
 >>          point="org.eclipse.core.expressions.definitions">
 >>       <definition
 >>             id="de.azubidb.definitions.perspective.verwaltung">
 >>          <with
 >>                variable="activeWorkbenchWindow.activePerspective">
 >>             <equals
 >>                   value="de.azubidb.perspectives.verwaltung">
 >>             </equals>
 >>          </with>
 >>       </definition>
 >>    </extension>
 >>
 >> this definition is true when the active perspective is the one
 >> identified by the string in the equals element. i use this to
 >> contribute controls to the
 >> app coolbar according to the different perspectives (different user
 >> roles).
 >>
 >> long story short, when i login, which means switching the perspective
 >> to the one above, the following JS error is displayed:
 >>
 >>
 >> Could not evaluate javascript response:
 >>
 >> TypeError: $3[$6] is undefined
 >>
 >> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
 >>  org.eclipse.swt.Request.getInstance();req.setRequestCounter( "11"
 >> );var wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose(
 >> "w572" );wm.dispose( "w573" );...................<output omitted>
 >>
 >>
 >> but this error only occurs when i have 3 or more controls contributing
 >> to the coolbar, if i only use 2, doesn't matter which 2 of the 3, the
 >> error doesn't show up. moreover the error only occurs
 >> when the controls are initially (upon starting the application) not
 >> visible and are made visible by the definition clause. when i start
 >> the application directly with the correct perspective
 >> the error also doesn't occur.
 >>
 >> i can exclude any problems with the content of the controls, the same
 >> thing happens when the controls are empty (e.g. returning an empty
 >> composite).
 >>
 >> i know this description is pretty vague, but before i dig deeper into
 >> this and provide some snippets and further descriptions i'd like to
 >> ask, whether a similar misbehaviour is already
 >> known or if there is someone else experiencing familiar problems?!?
 >>
 >> the error is quite confusing because the definitions mechanism
 >> (visibleWhen mechanism) works perfectly with contributions to the main
 >> application menu...
 >>
 >> the error occurs using RAP M4 target as well as the current CVS HEAD.
 >>
 >> i hope the problem has become clear at least half way :))).
 >>
 >> any feedback would be highly appreciated.
 >>
 >> greetings,
 >> ben
 |  |  |  |  | 
| Re: Strange JS Error with CoolBar Control Contributions [message #121243 is a reply to message #121226] | Wed, 11 February 2009 07:27   |  | 
| Eclipse User  |  |  |  |  | Originally posted by: benjamin.wolff.web.de 
 done :)
 
 
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=264510
 
 
 
 
 although this is a rather blocking issue for me i leave the choice of severity to you, of course :)
 
 
 
 
 Benjamin Muskalla schrieb:
 > Hi Ben,
 >
 > I was just about to write that I cannot reproduce it :)
 >
 > Thanks for the sample project - I see the same error as you do. Would
 > you mind to open a bug with the snippet? Thanks!
 >
 > Cheers
 >   Benny
 >
 > Ben W. wrote:
 >> Hello again,
 >>
 >> i fixed up a self-containing plugin project, based on the "Hello RAP
 >> with a View" Template, and attached it to this message.
 >>
 >> launch the project as a RAP Application (against M4 target or CVS) and
 >> push the large button "Switch Perspective" and the JS
 >> error should appear.
 >>
 >> the plugin.xml extensions editor will show what i did. the
 >> expressions.definition becomes true when the other perspective
 >> becomes active. take a look at the menu extension point. removing a
 >> single control from the toolbar (coolbar) and the error is
 >> gone. add another control to the 3 and the error persists. also adding
 >> other contributions than controls (commands e.g.) result
 >> in the same error, it seems to origin in the visibleWhen combination.
 >>
 >> btw, another bug can be seen in this snippet, when the coolbar is
 >> empty the height is set to 64px screwing up the hole layout. but this
 >> is a known SWT bug and is not related to RAP.
 >>
 >> since this is a blocking issue for me i'd really appreciate some
 >> hints. maybe i'm doing something wrong or there is a workaround? i
 >> couldn't
 >> find one yet.
 >>
 >> thx in advance!
 >>
 >> greetings,
 >> ben
 >>
 >>
 >>
 >>
 >> Ben W. schrieb:
 >>> Hello,
 >>>
 >>>
 >>> i'm encountering a very strange JS Error using Control Contributions
 >>> with the main app coolbar.
 >>>
 >>> i configure the main coolbar with the org.eclipse.ui.menu extension
 >>> point (menuContribution with
 >>> locationURI="toolbar:org.eclipse.ui.main.toolbar">).
 >>> There i add a toolbar and to the toolbar control contribution,
 >>> according to the Eclipse 3.3 menu mechanism. there are 3 controls and
 >>> every control
 >>> has a visibleWhen clause referencing a
 >>> org.eclipse.core.expressions.definitions extension point which looks
 >>> like this:
 >>>
 >>>    <extension
 >>>          point="org.eclipse.core.expressions.definitions">
 >>>       <definition
 >>>             id="de.azubidb.definitions.perspective.verwaltung">
 >>>          <with
 >>>                variable="activeWorkbenchWindow.activePerspective">
 >>>             <equals
 >>>                   value="de.azubidb.perspectives.verwaltung">
 >>>             </equals>
 >>>          </with>
 >>>       </definition>
 >>>    </extension>
 >>>
 >>> this definition is true when the active perspective is the one
 >>> identified by the string in the equals element. i use this to
 >>> contribute controls to the
 >>> app coolbar according to the different perspectives (different user
 >>> roles).
 >>>
 >>> long story short, when i login, which means switching the perspective
 >>> to the one above, the following JS error is displayed:
 >>>
 >>>
 >>> Could not evaluate javascript response:
 >>>
 >>> TypeError: $3[$6] is undefined
 >>>
 >>> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
 >>>  org.eclipse.swt.Request.getInstance();req.setRequestCounter( "11"
 >>> );var wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose(
 >>> "w572" );wm.dispose( "w573" );...................<output omitted>
 >>>
 >>>
 >>> but this error only occurs when i have 3 or more controls
 >>> contributing to the coolbar, if i only use 2, doesn't matter which 2
 >>> of the 3, the error doesn't show up. moreover the error only occurs
 >>> when the controls are initially (upon starting the application) not
 >>> visible and are made visible by the definition clause. when i start
 >>> the application directly with the correct perspective
 >>> the error also doesn't occur.
 >>>
 >>> i can exclude any problems with the content of the controls, the same
 >>> thing happens when the controls are empty (e.g. returning an empty
 >>> composite).
 >>>
 >>> i know this description is pretty vague, but before i dig deeper into
 >>> this and provide some snippets and further descriptions i'd like to
 >>> ask, whether a similar misbehaviour is already
 >>> known or if there is someone else experiencing familiar problems?!?
 >>>
 >>> the error is quite confusing because the definitions mechanism
 >>> (visibleWhen mechanism) works perfectly with contributions to the
 >>> main application menu...
 >>>
 >>> the error occurs using RAP M4 target as well as the current CVS HEAD.
 >>>
 >>> i hope the problem has become clear at least half way :))).
 >>>
 >>> any feedback would be highly appreciated.
 >>>
 >>> greetings,
 >>> ben
 |  |  |  |  | 
| Re: Strange JS Error with CoolBar Control Contributions [message #121540 is a reply to message #121243] | Fri, 13 February 2009 11:09  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: benjamin.wolff.web.de 
 Hello,
 
 
 as stated in the bug report, i can confirm that the bug has been fixed in CVS HEAD, works as it should.
 i can only say, once again, how amazed and grateful i am about your short "bug report -> bug fix" latency :))).
 
 good job!!
 
 
 greetings,
 ben
 
 
 
 
 Ben W. schrieb:
 > done :)
 >
 >
 > https://bugs.eclipse.org/bugs/show_bug.cgi?id=264510
 >
 >
 >
 >
 > although this is a rather blocking issue for me i leave the choice of
 > severity to you, of course :)
 >
 >
 >
 >
 > Benjamin Muskalla schrieb:
 >> Hi Ben,
 >>
 >> I was just about to write that I cannot reproduce it :)
 >>
 >> Thanks for the sample project - I see the same error as you do. Would
 >> you mind to open a bug with the snippet? Thanks!
 >>
 >> Cheers
 >>   Benny
 >>
 >> Ben W. wrote:
 >>> Hello again,
 >>>
 >>> i fixed up a self-containing plugin project, based on the "Hello RAP
 >>> with a View" Template, and attached it to this message.
 >>>
 >>> launch the project as a RAP Application (against M4 target or CVS)
 >>> and push the large button "Switch Perspective" and the JS
 >>> error should appear.
 >>>
 >>> the plugin.xml extensions editor will show what i did. the
 >>> expressions.definition becomes true when the other perspective
 >>> becomes active. take a look at the menu extension point. removing a
 >>> single control from the toolbar (coolbar) and the error is
 >>> gone. add another control to the 3 and the error persists. also
 >>> adding other contributions than controls (commands e.g.) result
 >>> in the same error, it seems to origin in the visibleWhen combination.
 >>>
 >>> btw, another bug can be seen in this snippet, when the coolbar is
 >>> empty the height is set to 64px screwing up the hole layout. but this
 >>> is a known SWT bug and is not related to RAP.
 >>>
 >>> since this is a blocking issue for me i'd really appreciate some
 >>> hints. maybe i'm doing something wrong or there is a workaround? i
 >>> couldn't
 >>> find one yet.
 >>>
 >>> thx in advance!
 >>>
 >>> greetings,
 >>> ben
 >>>
 >>>
 >>>
 >>>
 >>> Ben W. schrieb:
 >>>> Hello,
 >>>>
 >>>>
 >>>> i'm encountering a very strange JS Error using Control Contributions
 >>>> with the main app coolbar.
 >>>>
 >>>> i configure the main coolbar with the org.eclipse.ui.menu extension
 >>>> point (menuContribution with
 >>>> locationURI="toolbar:org.eclipse.ui.main.toolbar">).
 >>>> There i add a toolbar and to the toolbar control contribution,
 >>>> according to the Eclipse 3.3 menu mechanism. there are 3 controls
 >>>> and every control
 >>>> has a visibleWhen clause referencing a
 >>>> org.eclipse.core.expressions.definitions extension point which looks
 >>>> like this:
 >>>>
 >>>>    <extension
 >>>>          point="org.eclipse.core.expressions.definitions">
 >>>>       <definition
 >>>>             id="de.azubidb.definitions.perspective.verwaltung">
 >>>>          <with
 >>>>                variable="activeWorkbenchWindow.activePerspective">
 >>>>             <equals
 >>>>                   value="de.azubidb.perspectives.verwaltung">
 >>>>             </equals>
 >>>>          </with>
 >>>>       </definition>
 >>>>    </extension>
 >>>>
 >>>> this definition is true when the active perspective is the one
 >>>> identified by the string in the equals element. i use this to
 >>>> contribute controls to the
 >>>> app coolbar according to the different perspectives (different user
 >>>> roles).
 >>>>
 >>>> long story short, when i login, which means switching the
 >>>> perspective to the one above, the following JS error is displayed:
 >>>>
 >>>>
 >>>> Could not evaluate javascript response:
 >>>>
 >>>> TypeError: $3[$6] is undefined
 >>>>
 >>>> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
 >>>>  org.eclipse.swt.Request.getInstance();req.setRequestCounter( "11"
 >>>> );var wm = org.eclipse.swt.WidgetManager.getInstance();wm.dispose(
 >>>> "w572" );wm.dispose( "w573" );...................<output omitted>
 >>>>
 >>>>
 >>>> but this error only occurs when i have 3 or more controls
 >>>> contributing to the coolbar, if i only use 2, doesn't matter which 2
 >>>> of the 3, the error doesn't show up. moreover the error only occurs
 >>>> when the controls are initially (upon starting the application) not
 >>>> visible and are made visible by the definition clause. when i start
 >>>> the application directly with the correct perspective
 >>>> the error also doesn't occur.
 >>>>
 >>>> i can exclude any problems with the content of the controls, the
 >>>> same thing happens when the controls are empty (e.g. returning an
 >>>> empty composite).
 >>>>
 >>>> i know this description is pretty vague, but before i dig deeper
 >>>> into this and provide some snippets and further descriptions i'd
 >>>> like to ask, whether a similar misbehaviour is already
 >>>> known or if there is someone else experiencing familiar problems?!?
 >>>>
 >>>> the error is quite confusing because the definitions mechanism
 >>>> (visibleWhen mechanism) works perfectly with contributions to the
 >>>> main application menu...
 >>>>
 >>>> the error occurs using RAP M4 target as well as the current CVS HEAD.
 >>>>
 >>>> i hope the problem has become clear at least half way :))).
 >>>>
 >>>> any feedback would be highly appreciated.
 >>>>
 >>>> greetings,
 >>>> ben
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 16:51:29 EDT 2025 
 Powered by FUDForum . Page generated in 0.42075 seconds |