[
https://issues.apache.org/jira/browse/ATLAS-4956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922277#comment-17922277
]
ASF subversion and git services commented on ATLAS-4956:
--------------------------------------------------------
Commit 037109a5977ac52105b76fb35afd42c996ba76a9 in atlas's branch
refs/heads/atlas-2.5 from priyanshi-shah26
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=037109a59 ]
ATLAS-4956 : Creating tag with name description throws
java.lang.ClassCastException
Signed-off-by: Pinal Shah <[email protected]>
(cherry picked from commit a4b02293668bd9befb6ae80c53324254a8d75f07)
> Creating tag with name description throws java.lang.ClassCastException
> ----------------------------------------------------------------------
>
> Key: ATLAS-4956
> URL: https://issues.apache.org/jira/browse/ATLAS-4956
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Priyanshi Shah
> Assignee: Priyanshi Shah
> Priority: Major
>
> Attempt to create a tag with name "description" , Atlas throws 500 with
> following exception:
> {code:java}
> 2024-12-31 17:54:36,378 [etp940087898-232 -
> fdf1467f-1146-493b-8b24-6ee25dc089ba] ERROR [ExceptionMapperUtil.java:32]
> Error handling a request: 22206345b8ffa8f0
> java.lang.ClassCastException: java.lang.String cannot be cast to
> java.util.List
> at
> org.apache.atlas.repository.store.graph.v2.AtlasStructDefStoreV2.toStructDef(AtlasStructDefStoreV2.java:495)
> at
> org.apache.atlas.repository.store.graph.v2.AtlasClassificationDefStoreV2.toClassificationDef(AtlasClassificationDefStoreV2.java:355)
> at
> org.apache.atlas.repository.store.graph.v2.AtlasClassificationDefStoreV2.create(AtlasClassificationDefStoreV2.java:103)
> at
> org.apache.atlas.repository.store.graph.v2.AtlasClassificationDefStoreV2.create(AtlasClassificationDefStoreV2.java:46)
> at
> org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.addToGraphStore(AtlasTypeDefGraphStore.java:1016)
> at
> org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.createTypesDef(AtlasTypeDefGraphStore.java:399)
> at
> org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore$$FastClassBySpringCGLIB$$5226c80b.invoke(<generated>)
> at
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
> at
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
> at
> org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:111)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
> at
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
> at
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
> at
> org.apache.atlas.repository.store.graph.v2.AtlasTypeDefGraphStoreV2$$EnhancerBySpringCGLIB$$674192d4.createTypesDef(<generated>)
> at
> org.apache.atlas.web.rest.TypesREST.createAtlasTypeDefs(TypesREST.java:399)
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)