[
https://issues.apache.org/jira/browse/CAY-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrus Adamchik updated CAY-2143:
---------------------------------
Description: Per https://github.com/apache/cayenne/pull/130 there is a
NullPointerException unboxing BaseSchemaUpdateStrategy.threadRunInProgress ,
which makes sense as this ThreadLocal is only initialized in one thread. Looks
like I introduced this bug in 60fc4d2678b3d57f7dd896e9c8d07b7029cf3572 ... (so
it is on me to build a unit test :)) (was: Per
https://github.com/apache/cayenne/pull/130 there is a NullPointerException
unboxing BaseSchemaUpdateStrategy.threadRunInProgress , which makes sense as
this ThreadLocal is only initialized in one thread.)
> NPE in BaseSchemaUpdateStrategy
> -------------------------------
>
> Key: CAY-2143
> URL: https://issues.apache.org/jira/browse/CAY-2143
> Project: Cayenne
> Issue Type: Bug
> Reporter: Andrus Adamchik
>
> Per https://github.com/apache/cayenne/pull/130 there is a
> NullPointerException unboxing BaseSchemaUpdateStrategy.threadRunInProgress ,
> which makes sense as this ThreadLocal is only initialized in one thread.
> Looks like I introduced this bug in 60fc4d2678b3d57f7dd896e9c8d07b7029cf3572
> ... (so it is on me to build a unit test :))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)