[
https://issues.apache.org/jira/browse/ATLAS-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Priyanshi Shah updated ATLAS-4859:
----------------------------------
Attachment: (was: ATLAS-4859.patch)
> 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
>
>
> 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)