Hy,
the problem occurs only when using the bundle "com.openexchange.contacts.ldap".
I used this guide to set my public contacts via ldap: http://oxpedia.org/wiki/index.php?ti...ntacts_LDAP_AD
How to reproduce the problem:
- select an e-mail
- select the e-mail address on the left/top of the e-mail
on /var/log/open-xchange/open-xchange.log.0 i find these error:
4-gen-2013 11.42.28 com.openexchange.log.internal.LoggerTask call
GRAVE: Logged at: com.openexchange.ajax.requesthandler.DispatcherSer vlet.handle(DispatcherServlet.java:294)
com.openexchange.ajax.requestNumber=61
com.openexchange.ajp13.remoteAddress=127.0.0.1
com.openexchange.ajp13.remotePort=47358
com.openexchange.session.clientId=open-xchange-appsuite
com.openexchange.session.contextId=1
com.openexchange.session.userId=3
Error processing request:
com.openexchange.ajax.requestNumber=61
com.openexchange.ajp13.httpSession=16270bf535cd4c5 594b79acaba07d16f.APP1
com.openexchange.ajp13.remoteAddress=127.0.0.1
com.openexchange.ajp13.remotePort=47358
com.openexchange.ajp13.requestIp=192.168.50.68
com.openexchange.ajp13.requestURI=/ajax/halo/contact
com.openexchange.ajp13.serverName=srvopen-xchange
com.openexchange.ajp13.servletPath=/ajax/halo/contact
com.openexchange.ajp13.threadName=AJP-Processor-0000017
com.openexchange.session.clientId=open-xchange-appsuite
com.openexchange.session.contextId=1
com.openexchange.session.session=com.openexchange. tools.session.ServerSessionAdapter@18de48
com.openexchange.session.sessionId=48e224c9fed9481 09d1b6a0d9ec2987c
com.openexchange.session.userId=3
org.mozilla.javascript.WrappedException: Wrapped CON-1001 Categories=USER_INPUT Message='An unexpected error occurred: java.lang.ClassCastException: com.openexchange.groupware.contact.helpers.Contact Field cannot be cast to java.lang.String' exceptionID=-80304374-121 (com.openexchange.halo.json/main.js#38)
at org.mozilla.javascript.Context.throwAsScriptRuntim eEx(Context.java:1786)
at org.mozilla.javascript.MemberBox.invoke(MemberBox. java:183)
at org.mozilla.javascript.NativeJavaMethod.call(Nativ eJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.callN( OptRuntime.java:86)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3._c_anonymous_4(com.openexchange.halo .json/main.js:38)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3.call(com.openexchange.halo.json/main.js)
at org.mozilla.javascript.ContextFactory.doTopCall(Co ntextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(Scr iptRuntime.java:3178)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3.call(com.openexchange.halo.json/main.js)
at com.openexchange.scripting.rhino.apibridge.Scripta bleActionFactory$FunctionAction.perform(Scriptable ActionFactory.java:115)
at com.openexchange.ajax.requesthandler.DefaultDispat cher.perform(DefaultDispatcher.java:194)
at com.openexchange.ajax.requesthandler.DispatcherSer vlet.handle(DispatcherServlet.java:253)
at com.openexchange.ajax.requesthandler.DispatcherSer vlet.doPut(DispatcherServlet.java:198)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:730)
at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:478)
at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:909)
at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:798)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:825)
at java.lang.Thread.run(Thread.java:662)
The bundle "com.openexchange.contacts.ldap" is active:
# listbundles | grep ldap
bundlename: com.openexchange.contacts.ldap status: ACTIVE
and I can use my ldap address book from "Address Book / Public" and when I send new e-mail (eg. for autocompletion of address).
If I remove the file /opt/open-xchange/etc/contacts-ldap/1/LDAPglobal1.properties and restart the service open-xchange the "information of e-mail address" are corrected displayed.
any suggestions?
the problem occurs only when using the bundle "com.openexchange.contacts.ldap".
I used this guide to set my public contacts via ldap: http://oxpedia.org/wiki/index.php?ti...ntacts_LDAP_AD
How to reproduce the problem:
- select an e-mail
- select the e-mail address on the left/top of the e-mail
on /var/log/open-xchange/open-xchange.log.0 i find these error:
4-gen-2013 11.42.28 com.openexchange.log.internal.LoggerTask call
GRAVE: Logged at: com.openexchange.ajax.requesthandler.DispatcherSer vlet.handle(DispatcherServlet.java:294)
com.openexchange.ajax.requestNumber=61
com.openexchange.ajp13.remoteAddress=127.0.0.1
com.openexchange.ajp13.remotePort=47358
com.openexchange.session.clientId=open-xchange-appsuite
com.openexchange.session.contextId=1
com.openexchange.session.userId=3
Error processing request:
com.openexchange.ajax.requestNumber=61
com.openexchange.ajp13.httpSession=16270bf535cd4c5 594b79acaba07d16f.APP1
com.openexchange.ajp13.remoteAddress=127.0.0.1
com.openexchange.ajp13.remotePort=47358
com.openexchange.ajp13.requestIp=192.168.50.68
com.openexchange.ajp13.requestURI=/ajax/halo/contact
com.openexchange.ajp13.serverName=srvopen-xchange
com.openexchange.ajp13.servletPath=/ajax/halo/contact
com.openexchange.ajp13.threadName=AJP-Processor-0000017
com.openexchange.session.clientId=open-xchange-appsuite
com.openexchange.session.contextId=1
com.openexchange.session.session=com.openexchange. tools.session.ServerSessionAdapter@18de48
com.openexchange.session.sessionId=48e224c9fed9481 09d1b6a0d9ec2987c
com.openexchange.session.userId=3
org.mozilla.javascript.WrappedException: Wrapped CON-1001 Categories=USER_INPUT Message='An unexpected error occurred: java.lang.ClassCastException: com.openexchange.groupware.contact.helpers.Contact Field cannot be cast to java.lang.String' exceptionID=-80304374-121 (com.openexchange.halo.json/main.js#38)
at org.mozilla.javascript.Context.throwAsScriptRuntim eEx(Context.java:1786)
at org.mozilla.javascript.MemberBox.invoke(MemberBox. java:183)
at org.mozilla.javascript.NativeJavaMethod.call(Nativ eJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.callN( OptRuntime.java:86)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3._c_anonymous_4(com.openexchange.halo .json/main.js:38)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3.call(com.openexchange.halo.json/main.js)
at org.mozilla.javascript.ContextFactory.doTopCall(Co ntextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(Scr iptRuntime.java:3178)
at org.mozilla.javascript.gen.com_openexchange_halo_j son_main_js_3.call(com.openexchange.halo.json/main.js)
at com.openexchange.scripting.rhino.apibridge.Scripta bleActionFactory$FunctionAction.perform(Scriptable ActionFactory.java:115)
at com.openexchange.ajax.requesthandler.DefaultDispat cher.perform(DefaultDispatcher.java:194)
at com.openexchange.ajax.requesthandler.DispatcherSer vlet.handle(DispatcherServlet.java:253)
at com.openexchange.ajax.requesthandler.DispatcherSer vlet.doPut(DispatcherServlet.java:198)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:730)
at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:478)
at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:909)
at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:798)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:825)
at java.lang.Thread.run(Thread.java:662)
The bundle "com.openexchange.contacts.ldap" is active:
# listbundles | grep ldap
bundlename: com.openexchange.contacts.ldap status: ACTIVE
and I can use my ldap address book from "Address Book / Public" and when I send new e-mail (eg. for autocompletion of address).
If I remove the file /opt/open-xchange/etc/contacts-ldap/1/LDAPglobal1.properties and restart the service open-xchange the "information of e-mail address" are corrected displayed.
any suggestions?
Comment