Error message : " Null value was assigned to a property" in the log when we start migrating our app

Hello,
we are using the latest version of Confluence Cloud Migration Assistant 3.2.5. when we start a migration we get this log error in the log file and we don’t know the reason behind it:

org.hibernate.PropertyAccessException: Null value was assigned to a property [class com.atlassian.migration.agent.entity.MigrateUsersTask.scoped] of primitive type setter of com.atlassian.migration.agent.entity.MigrateUsersTask.scoped


Caused by: java.lang.IllegalArgumentException: Can not set boolean field com.atlassian.migration.agent.entity.MigrateUsersTask.scoped to null value

we do understand that this issue is linked to the scope but we are using the same as mentioned in the documentation : here

@Override
public Set<AccessScope> getDataAccessScopes() {
	return Stream.of(APP_DATA_OTHER, PRODUCT_DATA_OTHER, MIGRATION_TRACING_IDENTITY, MIGRATION_TRACING_PRODUCT)
			.collect(Collectors.toCollection(HashSet::new));
}

please if anyone had a similar issue, tell us how to fix it,
kind regards,

Hi
Looks like you are facing this issue [MIG-828] Running a migration causes an IllegalArgumentException on MigrateUsersTask.scoped - Create and track feature requests for Atlassian products.
We have seen this as well, and reported it… Hopefully it will be fixed shortly
Alex

1 Like

Hi team,

Yes, @sash011, that’s the correct issue. @AliSalem this is an issue where a plan was created with the old version of CCMA, not run and the CCMA is upgraded. It can be fixed by running

update mig_task set scoped = true where tasktype = 'USERS' AND scoped is null;

I expect a fix in the next release of CCMA. But if this is blocking you, please comment on [MIG-828] Running a migration causes an IllegalArgumentException on MigrateUsersTask.scoped - Create and track feature requests for Atlassian products..

Regards,
James.