[
https://issues.apache.org/jira/browse/KYLIN-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
wangxianbin closed KYLIN-1218.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0
Li Yang have fixed it in commit for KYLIN-976
> java.lang.NullPointerException in MeasureTypeFactory when sync hive table
> -------------------------------------------------------------------------
>
> Key: KYLIN-1218
> URL: https://issues.apache.org/jira/browse/KYLIN-1218
> Project: Kylin
> Issue Type: Bug
> Components: Metadata
> Affects Versions: 2.0
> Environment: HDP2.3.2
> Reporter: wangxianbin
> Assignee: Shaofeng SHI
> Fix For: 2.0
>
>
> error stack info as bellow:
> org.apache.catalina.core.StandardWrapperValve invoke
> 严重: Servlet.service() for servlet [kylin] in context with path [/kylin] threw
> exception [Handler processing failed; nested exception is
> java.lang.ExceptionInInitializerError] with root cause
> java.lang.NullPointerException
> at
> org.apache.kylin.measure.MeasureTypeFactory.init(MeasureTypeFactory.java:53)
> at
> org.apache.kylin.measure.MeasureTypeFactory.<clinit>(MeasureTypeFactory.java:46)
> at
> org.apache.kylin.metadata.datatype.DataType.<clinit>(DataType.java:42)
> at
> org.apache.kylin.metadata.model.ColumnDesc.setDatatype(ColumnDesc.java:76)
> at
> org.apache.kylin.source.hive.HiveSourceTableLoader.extractHiveTables(HiveSourceTableLoader.java:120)
> at
> org.apache.kylin.source.hive.HiveSourceTableLoader.reloadHiveTables(HiveSourceTableLoader.java:74)
> at
> org.apache.kylin.rest.service.CubeService.reloadHiveTable(CubeService.java:541)
> at
> org.apache.kylin.rest.service.CubeService$$FastClassByCGLIB$$17a07c0e.invoke(<generated>)
> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> at
> org.apache.kylin.rest.service.CubeService$$EnhancerByCGLIB$$dea03d80.reloadHiveTable(<generated>)
> at
> org.apache.kylin.rest.controller.TableController.loadHiveTable(TableController.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> I think there maybe some error static member initial sequence
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)