Does anyone experience the same type of issue - listServiceOffering with systemvmtype parameter fails with the DB exception? Whoever modified serviceofferingview and diskofferingview in 43-44.sql upgrade script, can you pls take a look?
localhost:8096/?command=listServiceOfferings&issystem=true&systemvmtype=domainrouter ERROR [c.c.a.ApiServer] (ApiServer-5:ctx-a08cd417 ctx-87002911) unhandled exception executing api command: listServiceOfferings com.cloud.utils.exception.CloudRuntimeException: Caught: com.mysql.jdbc.JDBC4PreparedStatement@3f2bba67: SELECT service_offering_view.id, service_offering_view.uuid, service_offering_view.name, service_offering_view.display_text, service_offering_view.tags, service_offering_view.use_local_storage, service_offering_view.system_use, service_offering_view.cpu, service_offering_view.speed, service_offering_view.ram_size, service_offering_view.nw_rate, service_offering_view.mc_rate, service_offering_view.ha_enabled, service_offering_view.limit_cpu_use, service_offering_view.is_volatile, service_offering_view.host_tag, service_offering_view.default_use, service_offering_view.vm_type, service_offering_view.sort_key, service_offering_view.bytes_read_rate, service_offering_view.bytes_write_rate, service_offering_view.iops_read_rate, service_offering_view.iops_write_rate, service_offering_view.created, service_offering_view.removed, service_offering_view.domain_id, service_offering_view.domain_uuid, service_offering_view.domain_name, service_offering_view.domain_path, service_offering_view.deployment_planner FROM service_offering_view WHERE service_offering_view.system_use = 1 AND AND service_offering_view.removed IS NULL ORDER BY service_offering_view.sort_key DESC LIMIT 0, 500 at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:427) at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:361) at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:345) at com.cloud.utils.db.GenericDaoBase.searchAndCount(GenericDaoBase.java:1289) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy265.searchAndCount(Unknown Source) at com.cloud.api.query.QueryManagerImpl.searchForServiceOfferingsInternal(QueryManagerImpl.java:2472) at com.cloud.api.query.QueryManagerImpl.searchForServiceOfferings(QueryManagerImpl.java:2332) at org.apache.cloudstack.api.command.user.offering.ListServiceOfferingsCmd.execute(ListServiceOfferingsCmd.java:105) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:160) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:533) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:377) at com.cloud.api.ApiServer.handle(ApiServer.java:307) at org.apache.http.protocol.HttpService.doService(HttpService.java:375) at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290) at com.cloud.api.ApiServer$WorkerTask.runInContext(ApiServer.java:991) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at com.cloud.utils.db.GenericDaoBase.prepareAttribute(GenericDaoBase.java:1462) at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:402) ... 33 more