You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2012/05/22 11:22:41 UTC
[jira] [Created] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Balazs Zsoldos created ARIES-854:
------------------------------------
Summary: NullpointerException in TransactionManager when felix configAdmin is used
Key: ARIES-854
URL: https://issues.apache.org/jira/browse/ARIES-854
Project: Aries
Issue Type: Bug
Components: Transaction
Environment: Equinox, org.apache.felix.configadmin-1.2.8, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
Reporter: Balazs Zsoldos
When the felix configadmin is in the OSGI container the following exception occurs:
java.lang.NullPointerException
at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
at org.apache.aries.transaction.Activator.updated(Activator.java:55)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
at java.lang.Thread.run(Thread.java:722)
This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holly Cummins resolved ARIES-854.
---------------------------------
Resolution: Fixed
I've delivered a fix for this (under ARIES-845, inadvertently, although I've since edited the comment) to not set the properties to null if config admin passes in null properties.
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Assignee: Holly Cummins
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Balazs Zsoldos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Zsoldos updated ARIES-854:
---------------------------------
Priority: Critical (was: Major)
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.2.8, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284460#comment-13284460 ]
Holly Cummins commented on ARIES-854:
-------------------------------------
This issue is also causing three test failures in the Jenkins build, since build ARIES-1461.
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Assignee: Holly Cummins
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] [Assigned] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Holly Cummins reassigned ARIES-854:
-----------------------------------
Assignee: Holly Cummins
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Assignee: Holly Cummins
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284555#comment-13284555 ]
Holly Cummins commented on ARIES-854:
-------------------------------------
Two of the blog sample tests are still failing, but those failures are related to changes made under ARIES-832.
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Assignee: Holly Cummins
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Balazs Zsoldos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Zsoldos updated ARIES-854:
---------------------------------
Attachment: TransactionManagerService.java.patch
After simply inserting an "if" statement checking if the "properties" member variable is null or not everything works fine again. See the patch applied.
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.2.8, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] [Comment Edited] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284460#comment-13284460 ]
Holly Cummins edited comment on ARIES-854 at 5/28/12 4:25 PM:
--------------------------------------------------------------
This issue is also causing three sample test failures in the Jenkins build, since build ARIES-1461:
org.apache.aries.samples.blog.itests.JdbcBlogSampleWithEbaTest.test [equinox/3.5.0]
org.apache.aries.samples.blog.itests.QuiesceBlogSampleWithEbaTest.test [equinox/3.5.0]
org.apache.aries.samples.blog.itests.JpaBlogSampleWithEbaTest.test [equinox/3.5.0]
was (Author: cumminsh@uk.ibm.com):
This issue is also causing three test failures in the Jenkins build, since build ARIES-1461.
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Assignee: Holly Cummins
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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] (ARIES-854) NullpointerException in
TransactionManager when felix configAdmin is used
Posted by "Balazs Zsoldos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Zsoldos updated ARIES-854:
---------------------------------
Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT (was: Equinox, org.apache.felix.configadmin-1.2.8, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT)
> NullpointerException in TransactionManager when felix configAdmin is used
> -------------------------------------------------------------------------
>
> Key: ARIES-854
> URL: https://issues.apache.org/jira/browse/ARIES-854
> Project: Aries
> Issue Type: Bug
> Components: Transaction
> Environment: Equinox, org.apache.felix.configadmin-1.0.4, org.apache.aries.transactionmanager-1.0.0-SNAPSHOT
> Reporter: Balazs Zsoldos
> Priority: Critical
> Attachments: TransactionManagerService.java.patch
>
>
> When the felix configadmin is in the OSGI container the following exception occurs:
> java.lang.NullPointerException
> at org.apache.aries.transaction.TransactionManagerService.getInt(TransactionManagerService.java:181)
> at org.apache.aries.transaction.TransactionManagerService.<init>(TransactionManagerService.java:82)
> at org.apache.aries.transaction.Activator.updated(Activator.java:55)
> at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
> at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
> at java.lang.Thread.run(Thread.java:722)
> This has to do something with a patch applied to ARIES-809
--
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