cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 4.2d Community BUG

g_rathod
Star Contributor
Star Contributor
Hi,

Anybody face issue on fresh instance of alfresco 4.2d community edition ?
I am getting following error on startup :


Caused by: org.json.JSONException: A JSONObject text must begin with '{' at character 1
        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.web.scripts.solr.AlfrescoModelsDiff.buildModel(AlfrescoModelsDiff.java:68)
        at org.alfresco.repo.web.scripts.solr.AlfrescoModelsDiff.executeImpl(AlfrescoModelsDiff.java:42)
        … 30 more
2014-04-29 16:40:53,500  ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-2] Exception from executeScript - redirecting
org.springframework.extensions.webscripts.WebScriptException: 03290002 Invalid JSON
        at org.alfresco.repo.web.scripts.solr.AlfrescoModelsDiff.executeImpl(AlfrescoModelsDiff.java:55)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
        at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:439)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:447)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:508)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:546)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:285)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:376)
        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:611)
        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.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        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)



Anybody solved this issue ?
4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator
Hello Ghanshyam,

that issue was fixed in more recent versions of Alfresco 4.2 (I believe both Community and Enterprise). As far as I can remember, this error "only happened" on the very first request(s) of SOLR to the Repository due to some SSL related issue.

Regards
Axel

g_rathod
Star Contributor
Star Contributor
Hi Axel,

Thanks for the reply,
I would like to know on which exact version of community they resolved this issue?
Another issue I was facing is when applying out of box google doc amp it gives me error like below : (its oob amp not custom made)
04010000 An IO error was encountered during deployment of the AMP into the WAR
No modules were found in this WAR file
04010000 An IO error was encountered during deployment of the AMP into the WAR
No modules are installed in this WAR file
No modules are installed in this WAR file
No modules were found in this WAR file

Anybody face such issue ?

mrogers
Star Contributor
Star Contributor
If you think you have found a bug then the first place to check is issues.alfresco.com.      By all means discuss potential things that might be bugs on the forums.    But if you have found a new issue then it needs recording and if you want details then the JIRA is the place to find it.

g_rathod
Star Contributor
Star Contributor
Thanks mrogers,

Actually I was not aware about this issue and its new version so posted as I was facing that issue.
I will look into issues.alfresco.com system onwards.
Thanks