andrewbissada / gss

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

StopDragException sometimes when clicking a folder (gwt dev mode) #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes when clicking a folder in dev mode the following is shown in gwt log:

gwtquery.plugins.draggable.client.StopDragException: null   at 
gr.ebs.gss.web.client.CellTreeViewModel$2.f(CellTreeViewModel.java:121)     at 
gwtquery.plugins.draggable.client.Draggable.trigger(Draggable.java:161)     at 
gwtquery.plugins.draggable.client.Draggable.trigger(Draggable.java:726)     at 
gwtquery.plugins.draggable.client.Draggable.mouseStartImpl(Draggable.java:590) 
    at gwtquery.plugins.draggable.client.Draggable.mouseStart(Draggable.java:445) 
    at 
com.google.gwt.query.client.plugins.MousePlugin.mouseMove(MousePlugin.java:200) 
    at com.google.gwt.query.client.plugins.MousePlugin$3.f(MousePlugin.java:258) 
    at com.google.gwt.query.client.Function.f(Function.java:69)     at 
com.google.gwt.query.client.plugins.EventsListener$BindFunction.fire(EventsListe
ner.java:64)    at 
com.google.gwt.query.client.plugins.EventsListener.dispatchEvent(EventsListener.
java:182)   at 
com.google.gwt.query.client.plugins.EventsListener.onBrowserEvent(EventsListener
.java:214)  at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308) 
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1264)  at 
sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)   at java.lang.reflect.Method.invoke(Method.java:597)     at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)   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.reactToMessagesWhileWaitingForRetu
rn(BrowserChannelServer.java:326)   at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:207)   at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) 
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)  at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) 
    at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:9
1)  at com.google.gwt.core.client.impl.Impl.apply(Impl.java)    at 
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)  at 
sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)   at java.lang.reflect.Method.invoke(Method.java:597)     at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)   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:662)

Original issue reported on code.google.com by chstath on 8 Apr 2011 at 11:13

GoogleCodeExporter commented 9 years ago
not an issue, if a folder is not selected and user clicks on it it may start a 
drag event, so an exception is raised to stop drag operation, this is a core 
feature of gwtquery and expected to be raised

Original comment by kouts...@gmail.com on 8 Apr 2011 at 11:19

GoogleCodeExporter commented 9 years ago
OK. That 's what I thought.

Original comment by chstath on 8 Apr 2011 at 11:31