You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Engine: NPE instead of DatabaseMetadataException if the bucket is null during index creation #29
if (bucket == null)
thrownewDatabaseMetadataException(
"Cannot create index on type '" + typeName + "' because the specified bucket '" + bucket.getName() + "' is not part of the type");
@lvca what the real message should be? Because if bucket is null something here is going very weird.
If bucket == null means the caller didn't provide a valid bucket, so the exception still makes sense, but I understand the responsibility should be on the caller. And the exception is accessing the bucket, so doesn't make much sense... Fixing it.
Activity
lvca commentedon Sep 3, 2021
If bucket == null means the caller didn't provide a valid bucket, so the exception still makes sense, but I understand the responsibility should be on the caller. And the exception is accessing the bucket, so doesn't make much sense... Fixing it.
Fixed exception in case the bucket is null at index creation
chore(deps-dev): bump cucumber.version from 7.22.1 to 7.34.2 [skip ci]
Fixed exception in case the bucket is null at index creation
chore(deps-dev): bump cucumber.version from 7.22.1 to 7.34.2 [skip ci]
chore(deps): bump the go-modules group across 1 directory with 3 upda…