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 #832867 is a reply to message #832860] |
Fri, 30 March 2012 13:43   |
Eclipse User |
|
|
|
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 14:11   |
Eclipse User |
|
|
|
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 #841082 is a reply to message #832950] |
Tue, 10 April 2012 18:10   |
Eclipse User |
|
|
|
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 03:11   |
Eclipse User |
|
|
|
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: Wed Jun 18 15:15:34 EDT 2025
Powered by FUDForum. Page generated in 0.10180 seconds
|