Opened 12 years ago

Closed 12 years ago

#181 closed bug (worksforme)

Drop spot not working

Reported by: cmathew Owned by:
Priority: trivial Milestone:
Component: Core Version: 6.3.4
Keywords: Cc:

Description

Hi

I clicked on Drop spot from the "File" drop down menu. It loaded a Java application as shown in the attached image. But dragging and dropping files or folders to it does not do anything. I tested with Firefox 9.0.1 and Safari 5.1.2 on Mac. When using Firefox the following error is reported in server log. But with Safari no error is logged on server.


Feb 2, 2012 8:07:08 PM org.apache.catalina.core.ApplicationContext? log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException?: Service method 'public abstract void com.logicaldoc.gui.frontend.client.services.DocumentService?.addDocuments(java.lang.String,java.lang.String,long,java.lang.String,boolean,java.lang.Long) throws com.logicaldoc.gui.common.client.InvalidSessionException?' threw an unexpected exception: java.lang.NullPointerException?

at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
at com.google.gwt.user.server.rpc.RemoteServiceServlet?.processCall(RemoteServiceServlet?.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet?.processPost(RemoteServiceServlet?.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet?.doPost(AbstractRemoteServiceServlet?.java:62)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:641)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:722)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:304)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at com.logicaldoc.web.CharsetFilter?.doFilter(CharsetFilter?.java:26)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at com.logicaldoc.web.SessionFilter?.doFilter(SessionFilter?.java:61)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at org.tuckey.web.filters.urlrewrite.RuleChain?.handleRewrite(RuleChain?.java:164)
at org.tuckey.web.filters.urlrewrite.RuleChain?.doRules(RuleChain?.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter?.processRequest(UrlRewriter?.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter?.doFilter(UrlRewriteFilter?.java:417)
at org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:243)
at org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:210)
at org.apache.catalina.core.StandardWrapperValve?.invoke(StandardWrapperValve?.java:224)
at org.apache.catalina.core.StandardContextValve?.invoke(StandardContextValve?.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase?.invoke(AuthenticatorBase?.java:472)
at org.apache.catalina.core.StandardHostValve?.invoke(StandardHostValve?.java:151)
at org.apache.catalina.valves.ErrorReportValve?.invoke(ErrorReportValve?.java:100)
at org.apache.catalina.valves.AccessLogValve?.invoke(AccessLogValve?.java:929)
at org.apache.catalina.core.StandardEngineValve?.invoke(StandardEngineValve?.java:118)
at org.apache.catalina.connector.CoyoteAdapter?.service(CoyoteAdapter?.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol?$AbstractConnectionHandler?.process(AbstractProtocol?.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor?.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.NullPointerException?

at com.logicaldoc.web.service.DocumentServiceImpl?.addDocuments(DocumentServiceImpl?.java:127)
at com.logicaldoc.web.service.DocumentServiceImpl?.addDocuments(DocumentServiceImpl?.java:226)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
... 33 more


Change History (8)

comment:1 Changed 12 years ago by car031

  • Priority changed from Major to Trivial
  • Resolution set to worksforme
  • Status changed from new to closed

This is not a bug, please check that your folders tree is EMPTY. This is because you entered with a user without groups or with a group that doesn't have read permission on the root folder.
In this case the applet runs but the server cannot store the files because of no folder was selected.
Please retry with a good user.

comment:2 Changed 12 years ago by cmathew

The issue persists as admin user too. I was logged in from Firefox as admin user and the server log reported the error I pasted before.

Thanks

comment:3 Changed 12 years ago by cmathew

The issue with new user from Safari was indeed permission related. But now that permission is corrected this user exhibits the same issue as admin user - "Server error".

comment:4 in reply to: ↑ description Changed 12 years ago by cmathew

  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:5 Changed 12 years ago by car031

Please completely delete the cache of the Java plugin, and if possible disable the cache at all.
The cache of the java plugin is shared among all installed browsers.

http://www.java.com/en/download/help/plugin_cache.xml

When done close all the browsers and retry

comment:6 Changed 12 years ago by cmathew

I emptied the cache from Java Preferences. And restarted the browser. Upload still fails for both admin user and another user. Same error.
Local Java logs show this as the last event reported:

<message>Upload triggered

comment:7 Changed 12 years ago by car031

Unable to reproduce your case, please send email to support@… to agree on a date and time to connect to your server.

comment:8 Changed 12 years ago by car031

  • Resolution set to worksforme
  • Status changed from reopened to closed

too time without feedback

Note: See TracTickets for help on using tickets.