[
https://issues.apache.org/jira/browse/ATLAS-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884574#comment-17884574
]
ASF subversion and git services commented on ATLAS-4859:
--------------------------------------------------------
Commit 6edfce5ac220b70a154db1cb26379b482d9e5e52 in atlas's branch
refs/heads/branch-2.0 from Pinal Shah
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=6edfce5ac ]
Revert "ATLAS-4859 : NPE during Atlas Import"
This reverts commit 4e788f5d1fc68a456ce10afcd63eff3939cb7d11.
> NPE during Atlas Import
> -----------------------
>
> Key: ATLAS-4859
> URL: https://issues.apache.org/jira/browse/ATLAS-4859
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Priyanshi Shah
> Assignee: Priyanshi Shah
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: ATLAS-4859.patch
>
>
> While doing an incremental import with multiple classifications associated
> with entities it was giving NPE and import was getting failed.
> {code:java}
> 2024-07-23 15:40:31,244 ERROR - [etp370869802-217 -
> cd17f4b8-d164-4bd6-9458-97d3585ae093:] ~ import(user=admin, from=127.0.0.1):
> failed (ImportService:125)
> org.apache.atlas.exception.AtlasBaseException: java.lang.NullPointerException
> at
> org.apache.atlas.repository.store.graph.v2.bulkimport.RegularImport.run(RegularImport.java:137)
> at
> org.apache.atlas.repository.store.graph.v2.BulkImporterImpl.bulkImport(BulkImporterImpl.java:77)
> at
> org.apache.atlas.repository.impexp.ImportService.processEntities(ImportService.java:233)
> at
> org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:120)
> at
> org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:97)
> at
> org.apache.atlas.web.resources.AdminResource.importData(AdminResource.java:698)
> 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:498)
> at
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> at
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)