You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "wangxianbin (JIRA)" <ji...@apache.org> on 2015/12/10 04:50:10 UTC

[jira] [Closed] (KYLIN-1217) java.lang.NullPointerException in MeasureTypeFactory when sync hive table

     [ https://issues.apache.org/jira/browse/KYLIN-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangxianbin closed KYLIN-1217.
------------------------------
    Resolution: Duplicate

duplicate with  KYLIN-1218, double commit which cause by network issue

> java.lang.NullPointerException in MeasureTypeFactory when sync hive table
> -------------------------------------------------------------------------
>
>                 Key: KYLIN-1217
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1217
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 2.0
>         Environment: HDP2.3.2
>            Reporter: wangxianbin
>            Assignee: Shaofeng SHI
>
> error stack info as bellow:
> 十二月 09, 2015 3:29:26 上午 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)