Hi @Chaminda Jayawardena <chami...@wso2.com>

We didnt encounter this issue. According to [1], seems like the db
connection is null. can you check whether you have configured the
datasource properly?

[1]
https://github.com/wso2-extensions/identity-migration-resources/blob/v1.0.104/components/org.wso2.is.migration/migration-service/src/main/java/org/wso2/carbon/is/migration/service/SchemaMigrator.java#L94

*Dushani Wellappili*
Senior Software Engineer - WSO2

Email : dusha...@wso2.com
Mobile : +94779367571
Web : https://wso2.com/




On Sun, Aug 9, 2020 at 1:03 PM Chaminda Jayawardena <chami...@wso2.com>
wrote:

> Hi Team,
>
> Has anyone tried a migration with RC2? I am getting the below exception[1]
> while doing a migration from wso2am-2.1.0 to wso2am-3.2.0.
> Below are the details of the migration
>  - Deployment: APIM all-in-one deployment + MySQL
>  - OS: MacOS
>  - JDK1.8
>
> Any idea on this? I will recheck if anything has missed from my end.
>
> *[1] *
>
> [2020-08-09 12:37:13,416]  INFO - VersionMigration  WSO2 Product Migration
> Service Task : Version : 5.8.0, Migration Step :
> IDPIDColumnAdditionInH2Migrator of order : 2 is
> starting...........................
> [2020-08-09 12:37:13,418]  INFO - IDPIDColumnAdditionInH2Migrator IDP ID
> column is added with schema migrators for this environment, thus skipping.
> [2020-08-09 12:37:13,419]  INFO - VersionMigration  WSO2 Product Migration
> Service Task : Version : 5.8.0, Migration Step :
> UMAPermissionTicketSchemaMigrator of order : 3 is
> starting...........................
> [2020-08-09 12:37:13,422]  INFO - UMAPermissionTicketSchemaMigrator
> TOKEN_ID column does not exist in the table IDN_UMA_PERMISSION_TICKET.
> Hence adding the column.
> [2020-08-09 12:37:13,423]  INFO - SchemaMigrator  WSO2 Product Migration
> Service Task : Executing Identity Migration Scripts.
> [2020-08-09 12:37:13,427] ERROR - MigrationClientImpl Migration process
> was stopped.
> java.lang.NullPointerException: null
> at
> org.wso2.carbon.is.migration.service.SchemaMigrator.migrate(SchemaMigrator.java:94)
> ~[org.wso2.carbon.is.migration-1.0.104.jar:?]
> at
> org.wso2.carbon.is.migration.service.v580.migrator.UMAPermissionTicketSchemaMigrator.migrate(UMAPermissionTicketSchemaMigrator.java:53)
> ~[org.wso2.carbon.is.migration-1.0.104.jar:?]
> at
> org.wso2.carbon.is.migration.VersionMigration.migrate(VersionMigration.java:52)
> ~[org.wso2.carbon.is.migration-1.0.104.jar:?]
> at
> org.wso2.carbon.is.migration.MigrationClientImpl.execute(MigrationClientImpl.java:85)
> [org.wso2.carbon.is.migration-1.0.104.jar:?]
> at
> org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:147)
> [org.wso2.carbon.identity.core_5.17.5.jar:?]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_40]
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_40]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_40]
> at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_40]
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
> [org.eclipse.equinox.ds_1.4.400.v20160226-2036.jar:?]
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:113)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:985)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:866)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:525)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:544)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:529)
> [org.wso2.carbon.core_4.6.0.jar:?]
> at
> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:305)
> [org.wso2.carbon.core_4.6.0.jar:?]
> at
> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
> [org.wso2.carbon.core_4.6.0.jar:?]
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:973)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
> [org.eclipse.osgi_3.14.0.v20190517-1309.jar:?]
> [2020-08-09 12:37:13,435]  INFO - MigrationClientImpl
> ............................................................................................
> [2020-08-09 12:37:13,436]  INFO - MigrationClientImpl ................
>
> Thanks,
> Chaminda
>
> On Sun, Aug 9, 2020 at 12:49 PM Shammi Jayasinghe <sha...@wso2.com> wrote:
>
>> -1
>>
>> When doing a basic test encountered following issues, Will check further
>> an report
>>
>> https://github.com/wso2/product-apim/issues/8993
>> https://github.com/wso2/product-apim/issues/8994
>> https://github.com/wso2/product-apim/issues/8995
>>
>>
>>
>>
>> On Sat, Aug 8, 2020 at 10:00 PM Dushani Wellappili <dusha...@wso2.com>
>> wrote:
>>
>>> Tested Shared Scope management, multiple scopes per resource, and scope
>>> validation for both tenant and superintendent REST APIs, API Products, and
>>> GraphQL APIs with MSSQL Server 2019.
>>>
>>> No blockers found. +1 to proceed with the release .
>>>
>>>
>>> *Dushani Wellappili*
>>> Senior Software Engineer - WSO2
>>>
>>> Email : dusha...@wso2.com
>>> Mobile : +94779367571
>>> Web : https://wso2.com/
>>>
>>>
>>>
>>>
>>> On Sun, Aug 9, 2020 at 8:13 AM Ishara Cooray <isha...@wso2.com> wrote:
>>>
>>>> Tested the following flow for the tenant and super tenant users.
>>>>
>>>> - Key Cloak Integration
>>>>
>>>> No blockers are identified. +1 to proceed with the release.
>>>>
>>>> Thanks & Regards,
>>>> Ishara Cooray
>>>> Associate Technical Lead
>>>> Mobile : +9477 262 9512
>>>>
>>>> WSO2, Inc. | http://wso2.com/
>>>> https://wso2.com/signature
>>>> Lean . Enterprise . Middleware
>>>>
>>>>
>>>> On Sun, Aug 9, 2020 at 1:23 AM Rukshan Premathunga <ruks...@wso2.com>
>>>> wrote:
>>>>
>>>>> Tested Followings:
>>>>>
>>>>>    - Verified APIM Distributed deployment with HA
>>>>>    - Tested Analytics worker/dashboard HA deployment
>>>>>    - Tested APIs access and throttling with apiKey
>>>>>    - Tested Analytics with all the API types
>>>>>    - Tested Analytics dashboard manage
>>>>>
>>>>>  [+] Stable - go ahead and release
>>>>>
>>>>> On Sat, 8 Aug 2020 at 22:59, Tharindu Dharmarathna <tharin...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Tested the following flow for the tenant and super tenant users.
>>>>>>
>>>>>> - Okta Integration
>>>>>>
>>>>>> No issues found. +1 to proceed with the release.
>>>>>>
>>>>>>
>>>>>> On Sat, Aug 8, 2020 at 6:36 PM Mushthaq Rumy <musht...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Tested the following flows for super tenant and tenant users.
>>>>>>> - Basic flow of API creation, subscription and invocation
>>>>>>> - Soap API with pass through
>>>>>>> - Soap to Rest feature
>>>>>>>
>>>>>>> No issues found. +1 to proceed with the release.
>>>>>>>
>>>>>>> Thanks & Regards,
>>>>>>> Mushthaq
>>>>>>>
>>>>>>> On Sat, Aug 8, 2020 at 5:53 PM Amila De Silva <ami...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Tested Artifact Synchroniser for Super Tenant mode
>>>>>>>> - for Basic flows
>>>>>>>> - With multiple Labels assigned to APIs
>>>>>>>> - Startup Delay configured
>>>>>>>> - for failover scenarios (On a Setup with GWs without DB access and
>>>>>>>> TMs in Failover mode)
>>>>>>>> No issues found.
>>>>>>>>
>>>>>>>> +1 to proceed with the release.
>>>>>>>>
>>>>>>>> On Sat, Aug 8, 2020 at 12:25 PM Arshardh Ifthikar <
>>>>>>>> arsha...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> We are pleased to announce the second release candidate of WSO2
>>>>>>>>> API Manager 3.2.0.
>>>>>>>>>
>>>>>>>>> This release fixes the following issues.
>>>>>>>>>
>>>>>>>>>    - Fixes : product-apim
>>>>>>>>>    
>>>>>>>>> <https://github.com/wso2/product-apim/issues?q=is%3Aissue+is%3Aclosed+closed%3A2020-03-20..2020-08-06>
>>>>>>>>>    - Fixes : analytics-apim
>>>>>>>>>    <https://github.com/wso2/analytics-apim/milestone/28?closed=1>
>>>>>>>>>
>>>>>>>>> Source and distribution,
>>>>>>>>>     Runtime :
>>>>>>>>> https://github.com/wso2/product-apim/releases/tag/v3.2.0-rc2
>>>>>>>>>     Analytics :
>>>>>>>>> https://github.com/wso2/analytics-apim/releases/tag/v3.2.0-rc2
>>>>>>>>>
>>>>>>>>> Documentation : https://apim.docs.wso2.com/en/3.2.0/
>>>>>>>>> Migration docs :
>>>>>>>>> https://apim.docs.wso2.com/en/3.2.0/install-and-setup/upgrading-wso2-api-manager/upgrading-process/
>>>>>>>>>
>>>>>>>>> Please download, test the product and vote.
>>>>>>>>>
>>>>>>>>>     [+] Stable - go ahead and release
>>>>>>>>>     [-] Broken - do not release (explain why)
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> WSO2 API Manager Team
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Arshardh Ifthikar*
>>>>>>>>> Senior Software Engineer | WSO2 Inc.
>>>>>>>>>
>>>>>>>>> Email: arsha...@wso2.com
>>>>>>>>> Mobile: +94777218551
>>>>>>>>> Web: http://wso2.com
>>>>>>>>>
>>>>>>>>> <http://wso2.com/signature>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Amila De Silva*
>>>>>>>> Software Architect | Associate Director, Engineering - WSO2 Inc.
>>>>>>>> (m) +94 775119302 | (e) ami...@wso2.com
>>>>>>>> <http://wso2.com/signature>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> d...@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Mushthaq Rumy
>>>>>>> *Associate Technical Lead*
>>>>>>> Mobile : +94 (0) 779 492140
>>>>>>> Email : musht...@wso2.com
>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>> lean . enterprise . middleware.
>>>>>>>
>>>>>>> <http://wso2.com/signature>
>>>>>>> _______________________________________________
>>>>>>> Architecture mailing list
>>>>>>> Architecture@wso2.org
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Tharindu Dharmarathna*Technical Lead
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: *+94779109091*
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> d...@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rukshan C. Premathunga | Associate Technical Lead | WSO2 Inc.
>>>>> (m) +94711822074 | (w) +94112145345 | Email: ruks...@wso2.com
>>>>> GET INTEGRATION AGILE
>>>>> Integration Agility for Digitally Driven Business
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> Architecture@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> d...@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>
>>
>> --
>> Best Regards,
>>
>> *  Shammi Jayasinghe*
>>
>>
>> *Associate Director/ Architect*
>> *WSO2, Inc.*
>> *+1-812-391-7730*
>> *+1-812-327-3505*
>>
>> *http://shammijayasinghe.blogspot.com
>> <http://shammijayasinghe.blogspot.com>*
>>
>> _______________________________________________
>> Dev mailing list
>> d...@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Thanks & Regards
>
> *Chaminda Jayawardena*
> WSO2 Inc. - http://wso2.com
> +94-77-7725234
> [image: http://wso2.com/signature] <http://wso2.com/signature>
> _______________________________________________
> Dev mailing list
> d...@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to