hgs1906 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

Unable to get pointer error on listgrid text filter #498

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error happens under latest nightly (21.aug)

I created a list with a custom textItem editor for the column filter.
The error appears when I use:
item.setShowValueIconOnly(true);

22:36:02.578 [ERROR] [saf_db] 
22:36:02.577:MUP6[E]:WARN:TextItem:isc_TextItem_15:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element
com.smartgwt.client.core.JsObject$SGWT_WARN: 
22:36:02.577:MUP6[E]:WARN:TextItem:isc_TextItem_15:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Thread.java:636)

Original issue reported on code.google.com by mihai.ile@gmail.com on 21 Aug 2010 at 8:39

GoogleCodeExporter commented 9 years ago
I am getting this in release version 2.2

00:01:13.491 [ERROR] 
08:08:36.717:RDQ3:WARN:ColorItem:isc_ColorItem_2:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element
com.smartgwt.client.core.JsObject$SGWT_WARN: 
08:08:36.717:RDQ3:WARN:ColorItem:isc_ColorItem_2:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)   at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)   at 
java.lang.reflect.Constructor.newInstance(Unknown Source)   at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)   at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)  at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157
)   at 
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669
)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:401)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Unknown Source)

Original comment by steveher...@gmail.com on 1 Sep 2010 at 2:20

GoogleCodeExporter commented 9 years ago
Are you still getting this error with the latest nightly build? If so, please 
post a standalone testcase.

Original comment by sanjiv.j...@gmail.com on 29 Nov 2010 at 6:57

GoogleCodeExporter commented 9 years ago
Unable to reproduce. Closing. If you have a testcase for this then post here 
and will repopen.

Original comment by sanjiv.j...@gmail.com on 1 Dec 2010 at 2:40

GoogleCodeExporter commented 9 years ago
I am getting this in release version 2.2

00:04:31.267 [ERROR] 13:19:02.147:RDQ2:WARN:TextItem:isc_TextItem_19:Attempting 
to apply event handlers to this item. Unable to get a pointer to this item's 
focus element
com.smartgwt.client.core.JsObject$SGWT_WARN: 
13:19:02.147:RDQ2:WARN:TextItem:isc_TextItem_19:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:39)    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)     at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)   at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)  at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157
)   at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServ
er.java:281)    at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:531)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:619)

Original comment by mishra.r...@gmail.com on 13 Dec 2010 at 11:22

GoogleCodeExporter commented 9 years ago
Misra,
Please try the latest nightly build from http://www.smartclient.com/builds If 
you still see the warning, post a testcase.

Original comment by sanjiv.j...@gmail.com on 13 Dec 2010 at 12:08

GoogleCodeExporter commented 9 years ago
Thanks for quick reply Sanjiv.....

Could you please let me know when you will release 2.3 the free version....?

Original comment by mishra.r...@gmail.com on 13 Dec 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Sanjiv,

I used nightly build but still i am getting the error.

00:07:31.725 [ERROR] 
09:04:03.735:RDQ7:WARN:SelectItem:isc_SelectItem_84:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element
com.smartgwt.client.core.JsObject$SGWT_WARN: 
09:04:03.735:RDQ7:WARN:SelectItem:isc_SelectItem_84:Attempting to apply event 
handlers to this item. Unable to get a pointer to this item's focus element     at 
sun.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)  at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)     at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)   at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)  at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157
)   at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServ
er.java:281)    at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:531)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:619) 

Original comment by mishra.r...@gmail.com on 14 Dec 2010 at 7:13

GoogleCodeExporter commented 9 years ago
Can you post a testcase as I am not seeing this with the showcase samples. Also 
post the OS / browser info.

Original comment by sanjiv.j...@gmail.com on 14 Dec 2010 at 12:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please narrow it down to a minimal testcase and something that can be 
copy-pasted and compiled. The code you've posted is not minimal and is 
incomplete. For example the code for InternetAddressBean is missing. It's 
likely you'll figure out the cause of the problem when you narrow down to test 
case to be minimal.

Original comment by sanjiv.j...@gmail.com on 19 Dec 2010 at 4:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi Sanjeev,

I am using below code in EntryPoint.java class to dispaly the comboBox values.
but I am not able to get the combobox value.
Could you please check it for me.
Browser: Chrome and IE with all version.

@Override
 public void onModuleLoad() {

  RootPanel rootPanel = RootPanel.get("app");
  rootPanel.add(appContainer, 0, 0);
  appContainer.setSize("100%", "100%");
  ComboBoxItem cbItem = new ComboBoxItem();
  // SelectItem cbItem = new SelectItem();
  cbItem.setTitle("Select");
  cbItem.setHint("<nobr>A simple ComboBoxItem</nobr>");
  cbItem.setValueMap("Cat", "Dog", "Giraffe", "Goat", "Marmoset", "Mouse");
  final DynamicForm form = new DynamicForm();
  form.setWidth(250);
  form.setFields(cbItem);
  rootPanel.add(form);

 }

Original comment by mishra.r...@gmail.com on 11 Jan 2011 at 7:34