Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in BusinessTagDao#updateInTransaction #100

Closed
pierre opened this issue Aug 12, 2019 · 0 comments

Comments

@pierre
Copy link
Member

commented Aug 12, 2019

Caused by: java.lang.NullPointerException: null
    at org.killbill.billing.plugin.analytics.dao.BusinessTagDao.updateInTransaction(BusinessTagDao.java:71)
    at org.killbill.billing.plugin.analytics.dao.BusinessTagDao.access$000(BusinessTagDao.java:33)
    at org.killbill.billing.plugin.analytics.dao.BusinessTagDao$1.inTransaction(BusinessTagDao.java:52)
    at org.killbill.billing.plugin.analytics.dao.BusinessTagDao$1.inTransaction(BusinessTagDao.java:49)
    at org.skife.jdbi.v2.sqlobject.InTransactionWithIsolationLevelHandler$1.inTransaction(InTransactionWithIsolationLevelHandler.java:39)
    at org.skife.jdbi.v2.tweak.transactions.LocalTransactionHandler.inTransaction(LocalTransactionHandler.java:184)
    at org.skife.jdbi.v2.tweak.transactions.DelegatingTransactionHandler.inTransaction(DelegatingTransactionHandler.java:82)
    at org.killbill.commons.jdbi.transaction.RestartTransactionRunner.inTransaction(RestartTransactionRunner.java:60)
    at org.killbill.commons.jdbi.transaction.RestartTransactionRunner.inTransaction(RestartTransactionRunner.java:86)
    at org.skife.jdbi.v2.BasicHandle.inTransaction(BasicHandle.java:340)
    at org.skife.jdbi.v2.sqlobject.InTransactionWithIsolationLevelHandler.invoke(InTransactionWithIsolationLevelHandler.java:34)
    at org.skife.jdbi.v2.sqlobject.SqlObject.invoke(SqlObject.java:180)
    at org.skife.jdbi.v2.sqlobject.SqlObject$2.intercept(SqlObject.java:93)
    at org.skife.jdbi.v2.sqlobject.CloseInternalDoNotUseThisClass$$EnhancerByCGLIB$$31cc33a9.inTransaction(<generated>)
    at org.killbill.billing.plugin.analytics.dao.BusinessAnalyticsDaoBase.executeInTransaction(BusinessAnalyticsDaoBase.java:41)
    at org.killbill.billing.plugin.analytics.dao.BusinessTagDao.update(BusinessTagDao.java:49)
    at org.killbill.billing.plugin.analytics.dao.AllBusinessObjectsDao.update(AllBusinessObjectsDao.java:60)
    at org.killbill.billing.plugin.analytics.api.user.AnalyticsUserApi.rebuildAnalyticsForAccount(AnalyticsUserApi.java:113)
    at org.killbill.billing.plugin.analytics.http.AnalyticsAccountResource.doPut(AnalyticsAccountResource.java:81)

@pierre pierre added the bug label Aug 12, 2019

pierre added a commit that referenced this issue Aug 12, 2019

factory: fix NPE in BusinessTagDao
This fixes #100.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>

@pierre pierre closed this Aug 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.