Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » possible bugs
possible bugs [message #1718583] Sun, 27 December 2015 17:56 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 190
Registered: February 2013
Senior Member
work with TableViewer
first iteration is ok . That's all right
after use filter for table rows get

"Error: Error: Operation "set" on target "w775" of type "rwt.widgets.GridItem" failed:
null is not an object (evaluating 'c.length')
Properties:
texts = STANDARD,TEST2,CLIENT,WinNT,7.1.1.0,fusion,192.168.40.140,DISABLED,SYNCRECEIVE,NO,NEVER,GRP1,,,VMware,2015-11-15 23:23:31,2015-06-24 00:59:11,NO / YES
cellForegrounds = null"


if comment this code below that's all right
Error only with RAP 3.1 m4 (with 3.0.1 without error)
but I can't refuse from m4 (there's fixed bug with works with big table(constant refresh) )


protected Color getColorForeground(TObject obj, int columnIndex) {
				String name = columnsTable[columnIndex];

				if (name.equalsIgnoreCase("LOCKED") && obj.get(name).equalsIgnoreCase("YES")) {
					return ShopRwtWidget.getDisplay().getSystemColor(SWT.COLOR_RED);
				}

				if (name.equalsIgnoreCase("REPL_MODE") && obj.get(name).equalsIgnoreCase("SEND")) {
					return ShopRwtWidget.getDisplay().getSystemColor(SWT.COLOR_DARK_YELLOW);
				}

				return null;
			}
Re: possible bugs [message #1718614 is a reply to message #1718583] Mon, 28 December 2015 10:29 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
please open a bugzilla and attach a simple self-running entry point to
reproduce the issue.
Thanks,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: possible bugs [message #1718619 is a reply to message #1718583] Mon, 28 December 2015 10:50 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
....ok. I can reproduce it with our Controls Demo.

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: possible bugs [message #1718621 is a reply to message #1718583] Mon, 28 December 2015 10:56 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
We already have a bug about it:
484755: 3.1 M4: client error: Operation set failed on GridItem: c is null
https://bugs.eclipse.org/bugs/show_bug.cgi?id=484755
Will be fixed soon.
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: possible bugs [message #1718653 is a reply to message #1718621] Mon, 28 December 2015 18:26 Go to previous message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 190
Registered: February 2013
Senior Member
ok
waiting for
return M3
Previous Topic:RAP Project
Next Topic:label size and css
Goto Forum:
  


Current Time: Tue Mar 19 09:51:36 GMT 2024

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

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

Back to the top