Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7?
| | | | |
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #832860 is a reply to message #832798] |
Fri, 30 March 2012 17:25   |
Ivan Furnadjiev Messages: 2421 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Ronald,
I don't think that the problem is a missing bundle. The main difference
between 1.4 and 1.5 is the new server-to-client communication protocol.
See bug:
311355: Install a formalized communication format between server and client
https://bugs.eclipse.org/bugs/show_bug.cgi?id=311355
Do you have custom widgets in your application? What is this id:
"com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName" ?
How this id is set in your application? Could you provide a complete
JSON from the server response that triggers this error?
Best,
Ivan
On 3/30/2012 6:52 PM, Ronald So wrote:
> Hi,
>
> I am using Eclipse Indigo 3.7 (with RAP 1.4 tooling). I am trying to
> use RAP 1.5M6 as my target. I have read the bug you mentioned and I
> have added the Felix Gogo bundles, Jetty bundles, Equinox Console and
> RWT OSGi bundles to my run configuration. When I run the UI, I got
> the following error:
>
>
> Could not process server response:
>
> Error: Error: Operation "set" on target "w1" of type "[object Object]"
> failed:
> b is undefined
> Properties: focusControl =
> com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName
>
>
> Do you know what bundle(s) are missing from my run configuration?
>
> I have to use STS 2.9 that is based on Eclipse Indigo and I am not
> allowed to use Eclipse 3.8 / 4.2 yet.
>
> Thank you.
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #832867 is a reply to message #832860] |
Fri, 30 March 2012 17:43   |
Ronald So Messages: 198 Registered: April 2011 |
Senior Member |
|
|
Hi Ivan,
Thanks for your prompt reply. The component is just a simple Text component.
Text textUserName = new Text(parent, SWT.SINGLE);
textUserName.setData(WidgetUtil.CUSTOM_WIDGET_ID, "com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName");
Bear with me on giving you the correct network request. I see:
operations: [,...]
0: [set, w1, {currentTheme:org.eclipse.swt.theme.Custom_2c2b3ad5, exitConfirmation:, enableUiTests:true}]
0: "set"
1: "w1"
2: {currentTheme:org.eclipse.swt.theme.Custom_2c2b3ad5, exitConfirmation:, enableUiTests:true}
currentTheme: "org.eclipse.swt.theme.Custom_2c2b3ad5"
enableUiTests: true
exitConfirmation: ""
Then a bunch of other things, then:
23: [set, w1, {focusControl:com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName}]
0: "set"
1: "w1"
2: {focusControl:com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName}
focusControl: "com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName"
24: [call, w1, measureStrings, {strings:[[-1386268443, , [Arial], 13, false, false, 442, false],...]}]
0: "call"
1: "w1"
2: "measureStrings"
3: {strings:[[-1386268443, , [Arial], 13, false, false, 442, false],...]}
strings: [[-1386268443, , [Arial], 13, false, false, 442, false],...]
0: [-1386268443, , [Arial], 13, false, false, 442, false]
1: [1156581705, Log in with your company user ID and password, [Arial], 13, false, false, -1, false]
2: [1156595438, Log in with your company user ID and password, [Arial], 13, false, false, 442, false]
3: [-1383887365, OK, [Arial], 13, false, false, -1, false]
4: [-1356431594, , [Arial], 13, false, false, -1, false]
5: [897650737, User ID, [Arial], 13, true, false, -1, false]
6: [1899328188, Password, [Arial], 13, true, false, -1, false]
7: [-1386282176, , [Arial], 13, false, false, -1, false]
Do you have enough information?
|
|
| |
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #832887 is a reply to message #832867] |
Fri, 30 March 2012 18:11   |
Ivan Furnadjiev Messages: 2421 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Roland,
I think that you are running into this bug:
375246: Can't set custom widget id's
https://bugs.eclipse.org/bugs/show_bug.cgi?id=375246
It exists in 1.5M6, but I fixed it this week. Could you try without
setting a custom id? If custom ids are important for your project, get
latest runtime nightly build from [1], where the bug is fixed.
[1] http://www.eclipse.org/rap/downloads/
HTH,
Ivan
On 3/30/2012 8:43 PM, Ronald So wrote:
> Hi Ivan,
>
> Thanks for your prompt reply. The component is just a simple Text
> component.
>
>
> Text textUserName = new Text(parent, SWT.SINGLE);
> textUserName.setData(WidgetUtil.CUSTOM_WIDGET_ID,
> "com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName");
>
>
> Bear with me on giving you the correct network request. I see:
>
>
> operations: [,...]
> 0: [set, w1, {currentTheme:org.eclipse.swt.theme.Custom_2c2b3ad5,
> exitConfirmation:, enableUiTests:true}]
> 0: "set"
> 1: "w1"
> 2: {currentTheme:org.eclipse.swt.theme.Custom_2c2b3ad5,
> exitConfirmation:, enableUiTests:true}
> currentTheme: "org.eclipse.swt.theme.Custom_2c2b3ad5"
> enableUiTests: true
> exitConfirmation: ""
>
>
> Then a bunch of other things, then:
>
>
> 23: [set, w1,
> {focusControl:com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName}]
> 0: "set"
> 1: "w1"
> 2:
> {focusControl:com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName}
> focusControl:
> "com.syncsort.dp.xsb.ui.application.login.LoginDialog.textUserName"
> 24: [call, w1, measureStrings, {strings:[[-1386268443, , [Arial], 13,
> false, false, 442, false],...]}]
> 0: "call"
> 1: "w1"
> 2: "measureStrings"
> 3: {strings:[[-1386268443, , [Arial], 13, false, false, 442, false],...]}
> strings: [[-1386268443, , [Arial], 13, false, false, 442, false],...]
> 0: [-1386268443, , [Arial], 13, false, false, 442, false]
> 1: [1156581705, Log in with your company user ID and password,
> [Arial], 13, false, false, -1, false]
> 2: [1156595438, Log in with your company user ID and password,
> [Arial], 13, false, false, 442, false]
> 3: [-1383887365, OK, [Arial], 13, false, false, -1, false]
> 4: [-1356431594, , [Arial], 13, false, false, -1, false]
> 5: [897650737, User ID, [Arial], 13, true, false, -1, false]
> 6: [1899328188, Password, [Arial], 13, true, false, -1, false]
> 7: [-1386282176, , [Arial], 13, false, false, -1, false]
>
>
> Do you have enough information?
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| | |
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #832950 is a reply to message #832932] |
Fri, 30 March 2012 19:25   |
Ivan Furnadjiev Messages: 2421 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Roland,
this bug is already fixed in CVS HEAD and the fix will be part of 1.5M7
(May 11) ofcourse. Our main rule is to keep the CVS stable. We have more
than 4500 JUnit server-side tests + 2000 client-side javascript tests to
ensure this. Ofcourse, milestone/release builds are more stable as we
have more time to test after a new feature is implemented. Probably,
some developers, that are working against CVS HEAD will give you an
overview how stable they find the nightly.
BTW... you don't need to comment all the code that set the custom ids.
Just set the system property org.eclipse.rwt.enableUITests temporary to
false.
Best,
Ivan
On 3/30/2012 10:11 PM, Ronald So wrote:
> Yup that's it. I commented out all the code that sets the ID and the
> application runs fine again. What a bummer! We love some of these
> new features in M6 (especially on markups) but this ID is critical for
> us due to our UI automation tests. Without these IDs, none of our
> automated tests will work!
>
> Is this bug going to be fixed in M7? When can we expect it? How
> stable it is for us to develop our software on the nightly build? I
> am a little skeptical to use nightly builds because we are writing
> production code and I want the RAP framework to be as stable as
> possible for my UI developers.
>
> Thanks!
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #841082 is a reply to message #832950] |
Tue, 10 April 2012 22:10   |
Ronald So Messages: 198 Registered: April 2011 |
Senior Member |
|
|
Hey Ivan,
I am using RAP 1.5_m6 plus 7 fixes (nightly build March 30). I hit into a similar problem when I have enableUITest set to true. When I set enableUITest to false, the problem goes away. We only get this error when we follow a very specific click sequence.
View 1 -> View 2 -> Click Add -> TitleAreaDialog launched -> Click Close -> Navigate to View 1 then error occurred. If we do not go to TitleAreaDialog pop up, we are not able to see this problem.
Here is the error on the screen.
Could not process server response:
Error: Error: Operation "set" on target "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer" of type "null" failed:
a is undefined
Properties:
tabIndex = 319
Script: {
"meta": {
"requestCounter": 18
},
"operations": [ [ "set", "w37", {
"activeControl": "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer"
} ], [ "set", "w87", {
"tabIndex": -1,
"visibility": false
} ], [ "set", "w88", {
"visibility": false
} ], [ "set", "com.syncsort.dp.xsb.ui.views.view2.composite2.policyListTableViewer", {
"tabIndex": -1
} ], [ "set", "w44", {
"tabIndex": 315,
"visibility": true
} ], [ "set", "w45", {
"visibility": true
} ], [ "set", "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer", {
"tabIndex": 319
} ], [ "set", "w1", {
"focusControl": "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer"
} ], [ "set", "uicb", {
"active": true
} ] ]
}
fileName: http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js
lineNumber: 254
Stack: ([object Error],[object Array])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
([object Array])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:146
([object Object],(void 0))@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:119
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:111
([object Object],(void 0))@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
("completed","receiving")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:112
anonymous("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:12
([object Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:112
([object Object],true)@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
([object Object],true)@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
("completed","receiving")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:115
anonymous("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:12
([object Event])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:115
([object Event])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:15
Debug: off
Request: w47.selectedItemId=w67&org.eclipse.swt.events.widgetSelected=w47&w1.cursorLocation.x=141&w1.cursorLocation.y=82&uiRoot=w1&requestCounter=17
|
|
|
| Re: RAP 1.5 M6 based on Eclipse 4.2 , Can be installed to Eclipse3.7? [message #841342 is a reply to message #841082] |
Wed, 11 April 2012 07:11   |
Ivan Furnadjiev Messages: 2421 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Roland,
without a snippet to reproduce the problem I can't help you much. Please
file a bugzilla and attach a snippet to reproduce the problem there.
Thanks,
Ivan
On 4/11/2012 1:10 AM, Ronald So wrote:
> Hey Ivan,
>
> I am using RAP 1.5_m6 plus 7 fixes (nightly build March 30). I hit
> into a similar problem when I have enableUITest set to true. When I
> set enableUITest to false, the problem goes away. We only get this
> error when we follow a very specific click sequence.
>
> View 1 -> View 2 -> Click Add -> TitleAreaDialog launched -> Click
> Close -> Navigate to View 1 then error occurred. If we do not go to
> TitleAreaDialog pop up, we are not able to see this problem.
>
> Here is the error on the screen.
>
>
> Could not process server response:
>
> Error: Error: Operation "set" on target
> "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer" of type
> "null" failed:
> a is undefined
> Properties: tabIndex = 319
>
>
> Script: {
> "meta": {
> "requestCounter": 18
> },
> "operations": [ [ "set", "w37", {
> "activeControl": "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer"
> } ], [ "set", "w87", {
> "tabIndex": -1,
> "visibility": false
> } ], [ "set", "w88", {
> "visibility": false
> } ], [ "set",
> "com.syncsort.dp.xsb.ui.views.view2.composite2.policyListTableViewer", {
> "tabIndex": -1
> } ], [ "set", "w44", {
> "tabIndex": 315,
> "visibility": true
> } ], [ "set", "w45", {
> "visibility": true
> } ], [ "set", "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer", {
> "tabIndex": 319
> } ], [ "set", "w1", {
> "focusControl": "com.syncsort.dp.xsb.ui.views.view1.nodeListTableViewer"
> } ], [ "set", "uicb", {
> "active": true
> } ] ]
> }
> fileName: http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js
> lineNumber: 254
> Stack: ([object Error],[object
> Array])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
> ([object
> Array])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:254
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:146
> ([object Object],(void
> 0))@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:119
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:111
> ([object Object],(void
> 0))@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ("completed","receiving")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:112
>
> anonymous("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:12
>
> ([object
> Object])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:112
> ([object
> Object],true)@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ([object
> Object],true)@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
> ("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:17
>
> ("completed","receiving")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:115
>
> anonymous("completed")@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:12
>
> ([object
> Event])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:115
> ([object
> Event])@http://127.0.0.1:8080/rwt-resources/rap-client-3e053963.js:15
>
> Debug: off
> Request:
> w47.selectedItemId=w67&org.eclipse.swt.events.widgetSelected=w47&w1.cursorLocation.x=141&w1.cursorLocation.y=82&uiRoot=w1&requestCounter=17
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| |
Goto Forum:
Current Time: Tue Oct 03 17:21:19 GMT 2023
Powered by FUDForum. Page generated in 0.02238 seconds
|