Error Code 1519 Could not remove link
Note: This applies to DocuShare 4.x, 5.x, and 6.0.x.
Problem
Customer gets a Stack Trace error while trying to unlock document:
System Error
Top of Form
Error Code: 1519
Invalid parameter value for this type of link.
Stack Trace displays the following error:
com.xerox.docushare.db.DatabaseException: Could not remove a link.
At com.xerox.docushare.db.jdbc.DbConnectionJDBC.removeLinkDestinationsNoCheck(DbConnectionJDBC.java:9598)
at com.xerox.docushare.impl.server.BackendSessionImpl.unlock(BackendSessionImpl.java:4322)
at sun.reflect.GeneratedMethodAccessor49.invoke(UnknownSource)
At sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
Solution
Run fixduplicatelinks utility.
Utilities:
https://docushare.xerox.com/doug/dsweb/View/Collection-4612
DS 4:
https://docushare.xerox.com/doug/dsweb/View/Collection-3015
DS 5:
https://docushare.xerox.com/doug/dsweb/Get/Document-12292/fixDuplicateLinks.zip
DS 6:
https://docushare.xerox.com/doug/dsweb/View/Collection-10720
Solution Published: January 14th, 2012
Solution ID: 1254