You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Aaron Korver (JIRA)" <ji...@apache.org> on 2010/06/17 17:19:23 UTC
[jira] Created: (CMIS-221) Document getObjectOfLatestVersion NPE
Document getObjectOfLatestVersion NPE
-------------------------------------
Key: CMIS-221
URL: https://issues.apache.org/jira/browse/CMIS-221
Project: Chemistry
Issue Type: Bug
Components: chemistry-client
Affects Versions: opencmis-1.0.0-incubating
Reporter: Aaron Korver
Attachments: NPE_fix.diff
When calling the getObjectOfLatestVersion(boolean major) method of the Document interface a null pointer is thrown. This is because the OperationContext is being set to null. I'm attaching a patch that I think fixes this, as it is modeled after the other methods in this class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CMIS-221) Document getObjectOfLatestVersion NPE
Posted by "Aaron Korver (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Korver updated CMIS-221:
------------------------------
Attachment: NPE_fix.diff
Patch to fix NPE
> Document getObjectOfLatestVersion NPE
> -------------------------------------
>
> Key: CMIS-221
> URL: https://issues.apache.org/jira/browse/CMIS-221
> Project: Chemistry
> Issue Type: Bug
> Components: chemistry-client
> Affects Versions: opencmis-1.0.0-incubating
> Reporter: Aaron Korver
> Attachments: NPE_fix.diff
>
>
> When calling the getObjectOfLatestVersion(boolean major) method of the Document interface a null pointer is thrown. This is because the OperationContext is being set to null. I'm attaching a patch that I think fixes this, as it is modeled after the other methods in this class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CMIS-221) Document getObjectOfLatestVersion NPE
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller updated CMIS-221:
--------------------------------
Status: Resolved (was: Patch Available)
Assignee: Florian Müller
Resolution: Fixed
Thanks for the patch!
> Document getObjectOfLatestVersion NPE
> -------------------------------------
>
> Key: CMIS-221
> URL: https://issues.apache.org/jira/browse/CMIS-221
> Project: Chemistry
> Issue Type: Bug
> Components: chemistry-client
> Affects Versions: opencmis-1.0.0-incubating
> Reporter: Aaron Korver
> Assignee: Florian Müller
> Attachments: NPE_fix.diff
>
>
> When calling the getObjectOfLatestVersion(boolean major) method of the Document interface a null pointer is thrown. This is because the OperationContext is being set to null. I'm attaching a patch that I think fixes this, as it is modeled after the other methods in this class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CMIS-221) Document getObjectOfLatestVersion NPE
Posted by "Aaron Korver (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Korver updated CMIS-221:
------------------------------
Status: Patch Available (was: Open)
> Document getObjectOfLatestVersion NPE
> -------------------------------------
>
> Key: CMIS-221
> URL: https://issues.apache.org/jira/browse/CMIS-221
> Project: Chemistry
> Issue Type: Bug
> Components: chemistry-client
> Affects Versions: opencmis-1.0.0-incubating
> Reporter: Aaron Korver
> Attachments: NPE_fix.diff
>
>
> When calling the getObjectOfLatestVersion(boolean major) method of the Document interface a null pointer is thrown. This is because the OperationContext is being set to null. I'm attaching a patch that I think fixes this, as it is modeled after the other methods in this class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.