cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Error for Document Library

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

         I have a problem with one specifc user on our Alfresco system - no-one else has the same problem.  when she logs in and attempts to access the document library she receives the error:

10030013 Wrapped Exception (with status template): 10030026 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 10030025 Failed to open stream onto channel: accessor: ContentAccessor[ contentUrl=store://2011/6/27/11/13/eee289bf-864d-447f-b018-d77f6b907422.bin, mimetype=text/plain, size=0, encoding=utf-8, locale=en_GB]

  I have tried to rebuild the index but Alfresco still fails on me.  I have located the file that gives me the problem but I cannot get much more than that out of the above error.  Does anyone have an idea as to what the problem is - as I mentioned above, it only happens with this user and no-one else.  The Alfresco is 3.4.d and the OS is Ubuntu.

  Thanks, in advance for your help.

Regards,

Neil
14 REPLIES 14

mikeh
Star Contributor
Star Contributor
No problem - glad we got this one fixed!

Thanks,
Mike

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

        I'm glad to add that Alfresco 4.0 does not suffer from the same problem with office documents - I have a few other problems caused by the upgrade but the slow office documents have gone away!

Regards,

Neil

rockyrakhi
Champ in-the-making
Champ in-the-making
org.alfresco.error.AlfrescoRuntimeException: 06110143 Can not get preferences for admin because there was an error pasing the JSON data.

can any body give any idea on this

thanks in Advance.

thaond
Champ in-the-making
Champ in-the-making
org.alfresco.error.AlfrescoRuntimeException: 07110364 Can not get preferences for hieutl because there was an error parsing the JSON data.
And the error trace is:
<blockcode>
2014-08-11 11:00:27,662  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-80-exec-1] Exception from executeScript - redirecting to status template error: 07110090 org.alfresco.error.AlfrescoRuntimeException: 07110359 Can not update preferences for hieutl because there was an error pasing the JSON data.
org.springframework.extensions.webscripts.WebScriptException: 07110090 org.alfresco.error.AlfrescoRuntimeException: 07110359 Can not update preferences for hieutl because there was an error pasing the JSON data.
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1053)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:429)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
        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:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1810)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 07110359 Can not update preferences for hieutl because there was an error pasing the JSON data.
        at org.alfresco.repo.preference.PreferenceServiceImpl$2.doWork(PreferenceServiceImpl.java:447)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
        at org.alfresco.repo.preference.PreferenceServiceImpl.setPreferences(PreferenceServiceImpl.java:376)
        at org.alfresco.repo.preference.script.ScriptPreferenceService.setPreferences(ScriptPreferenceService.java:130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
        at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
        at org.mozilla.javascript.gen.c10._c1(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js:21)
        at org.mozilla.javascript.gen.c10.call(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js)
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c10._c0(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js:41)
        at org.mozilla.javascript.gen.c10.call(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
        at org.mozilla.javascript.gen.c10.call(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js)
        at org.mozilla.javascript.gen.c10.exec(file:/opt/alfresco-4.2.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)
        at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
        at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
        at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
        at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
        … 28 more
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at character 0
        at org.json.JSONTokener.syntaxError(JSONTokener.java:413)
        at org.json.JSONObject.<init>(JSONObject.java:180)
        at org.json.JSONObject.<init>(JSONObject.java:420)
        at org.alfresco.repo.preference.PreferenceServiceImpl$2.doWork(PreferenceServiceImpl.java:396)
        … 54 more
</blockcode>
Could you help me on this problem
Best regards!

dranakan
Champ on-the-rise
Champ on-the-rise
Hi,

We get same problem after a crash system. The .bin with the preferences was empty (>= "A JSONObject text must begin with '{' at character 0").

You can delete user's preferences using curl : curl -u admin:admin -X delete http://SERVER:8080/alfresco/service/api/people/XXUSERXX/preferences

Best regards.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.