You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Yannick Kirschhoffer (Created) (JIRA)" <ji...@apache.org> on 2012/02/19 18:48:36 UTC

[jira] [Created] (CMIS-505) null children in Folder.getChildren() results

null children in Folder.getChildren() results
---------------------------------------------

                 Key: CMIS-505
                 URL: https://issues.apache.org/jira/browse/CMIS-505
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.6.0
         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
            Reporter: Yannick Kirschhoffer


I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).

This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Florian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211858#comment-13211858 ] 

Florian Müller commented on CMIS-505:
-------------------------------------

Check http://<host>/alfresco/service/cmis/index.html
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Yannick Kirschhoffer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211912#comment-13211912 ] 

Yannick Kirschhoffer commented on CMIS-505:
-------------------------------------------

Ok, but I can't really understand the point in maintaining a broken CMIS binding in the release ?!?!?

Anyway, thanks for the speed and quality of your feedback !
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Yannick Kirschhoffer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211472#comment-13211472 ] 

Yannick Kirschhoffer commented on CMIS-505:
-------------------------------------------

Hi Florian !

This does not trigger any exception/trace besides my own code (because of the unexpected null), and I'm not sure how to reproduce it 100% from an empty repository. The only thing I'm sure is that it happens when I upload "big" folders. When it happens, it will happen every time on the same folder, even if I restart Alfresco server.

I'll try to find a way to reproduce it from scratch and post it here.

                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Yannick Kirschhoffer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211504#comment-13211504 ] 

Yannick Kirschhoffer commented on CMIS-505:
-------------------------------------------

I first assumed it would be related to the fact that I'm using PostgreSQL, but I tried with a brand new repository on MySQL and had the same result.

I create a folder with 140 documents using OpenCMIS. The files show up fine in Share. But if I list the folder using OpenCMIS using Folder.getChildren, I can read the first 100 children, and then encounter a null reference...
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Florian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211463#comment-13211463 ] 

Florian Müller commented on CMIS-505:
-------------------------------------

Could you please provide a stack trace and/or a way to reproduce it?!
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CMIS-505) null children in Folder.getChildren() results

Posted by "Yannick Kirschhoffer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yannick Kirschhoffer updated CMIS-505:
--------------------------------------

    Attachment: Alfresco_stream.txt.gz

This is a network recording made with wireshark. It contains the dialog between:
* A Java SE 6 / OpenCMIS 0.6 client
* An Alfresco 4.0d / Tomcat / MySQL

I try to browse the folder /User Folders/yannick/Test which contains 348 sample text files. The OpenCMIS client will iterate on the first 100 results (the last visible file is sample_188.txt) and then return a null child.
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Florian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211833#comment-13211833 ] 

Florian Müller commented on CMIS-505:
-------------------------------------

Your are using an outdated CMIS URL. Try "http://<host>/alfresco/cmisatom" instead of "http://<host>/alfresco/service/cmis".
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Florian Müller (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211500#comment-13211500 ] 

Florian Müller commented on CMIS-505:
-------------------------------------

Would it be possible to record the server response? I have a suspicion...
                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CMIS-505) null children in Folder.getChildren() results

Posted by "Yannick Kirschhoffer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211854#comment-13211854 ] 

Yannick Kirschhoffer commented on CMIS-505:
-------------------------------------------

Yes, this solved the children iteration issue. Now I have some other errors regarding document creation and versioning. I'll investigate on this later...

Is this URL scheme update related to the Alfresco 4 release ? I never heard about it and I saw that information ?
And Liferay install procedure for Alfresco 4 still refers to the deprecated URL... http://www.liferay.com/community/wiki/-/wiki/Main/CMIS+Repository+Configuration+with+Alfresco+4.0 ?

Should this be reported to Alfresco ?

                
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CMIS-505) null children in Folder.getChildren() results

Posted by "Florian Müller (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-505.
---------------------------------

    Resolution: Not A Problem
    
> null children in Folder.getChildren() results
> ---------------------------------------------
>
>                 Key: CMIS-505
>                 URL: https://issues.apache.org/jira/browse/CMIS-505
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Java SE 6 application running OpenCMIS 0.6.0 to communicate with Alfresco Community repository.
>            Reporter: Yannick Kirschhoffer
>         Attachments: Alfresco_stream.txt.gz
>
>
> I happen to have some incomplete results and null pointers in Folder.getChildren() results... This usualy happens on medium sized folders (around 200 entries).
> This happens while using Alfresco Community 4.0d, but does not seem to occur with 3.6d.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira