Then there is no workaround for you. The limit is hard-coded.

Are you sure that it makes sense to have a property of that size?
I'm sure many clients have difficulties handling this.

Wouldn't it be better to store this as a document?


- Florian

Yes. I have at least one field in the document where length is 221 666
characters.
This field contains log of changes document.

2017-02-28 14:44 GMT+03:00 Florian Müller <f...@apache.org>:

Hi Dmitry,

There is a limitation to protect the client from broken or malicious
servers. It restricts strings (usually property values) to 102,400
characters (!!!) per string.

Do you have a property value of that size? If not, your repository
(or your network) might have a problem.

- Florian

Good afternoon.

When attempt to import data from alfresco I get the following
error message
"JSONParseException String too long".

If there any decision to import big data?

Yours faithfully Dmitry Lewicki.

Exception in thread "main"


org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
Parsing exception: String too long
at org.apache.chemistry.opencmis.client.bindings.spi.browser.


AbstractBrowserBindingService.parse(AbstractBrowserBindingService.java:387)
at org.apache.chemistry.opencmis.client.bindings.spi.browser.


AbstractBrowserBindingService.parseObject(AbstractBrowserBindingService.
java:351)
at org.apache.chemistry.opencmis.client.bindings.spi.browser.
NavigationServiceImpl.getChildren(NavigationServiceImpl.java:71)
at org.apache.chemistry.opencmis.client.runtime.FolderImpl$2.
fetchPage(FolderImpl.java:279)
at

org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.
getCurrentPage(AbstractIterator.java:131)
at org.apache.chemistry.opencmis.client.runtime.util.
CollectionIterator.hasNext(CollectionIterator.java:41)
at ru.gostinfo.AlfrescoToPostgresql.App.GetChildren(App.java:179)
at ru.gostinfo.AlfrescoToPostgresql.App.GetChildren(App.java:187)
at ru.gostinfo.AlfrescoToPostgresql.App.main(App.java:72)
Caused by: String too long
at org.apache.chemistry.opencmis.commons.impl.json.parser.
Yylex.appendYytext(Yylex.java:378)
at org.apache.chemistry.opencmis.commons.impl.json.parser.
Yylex.yylex(Yylex.java:540)
at org.apache.chemistry.opencmis.commons.impl.json.parser.
JSONParser.nextToken(JSONParser.java:310)
at org.apache.chemistry.opencmis.commons.impl.json.parser.
JSONParser.parse(JSONParser.java:132)
at org.apache.chemistry.opencmis.client.bindings.spi.browser.


AbstractBrowserBindingService.parse(AbstractBrowserBindingService.java:385)
... 8 more

Reply via email to