[Geoserver-devel] [jira] (GEOS-6421) Importer fails to create new store

Andrea Aime created an issue

GeoServer / BugGEOS-6421

Importer fails to create new store

Issue Type:

BugBug

Affects Versions:

2.5

Assignee:

Justin Deoliveira

Components:

Importer

Created:

30/Mar/14 9:05 AM

Priority:

MajorMajor

Reporter:

Andrea Aime

When choosing “create new” as the target store the importer won’t ask which store (imho it should ask to create a new one in a separate page, or inline like the input store) and then goes NPE right after:

30 mar 14:02:03 ERROR [geoserver.importer] - Error occured during import
java.io.IOException
	at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:587)
	at org.geoserver.catalog.impl.DataStoreInfoImpl.getDataStore(DataStoreInfoImpl.java:37)
	at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:145)
	at $Proxy4.getDataStore(Unknown Source)
	at org.geoserver.importer.Importer.loadIntoDataStore(Importer.java:944)
	at org.geoserver.importer.Importer.doIndirectImport(Importer.java:859)
	at org.geoserver.importer.Importer.run(Importer.java:731)
	at org.geoserver.importer.Importer.run(Importer.java:681)
	at org.geoserver.importer.Importer$4.call(Importer.java:757)
	at org.geoserver.importer.Importer$4.call(Importer.java:1)
	at org.geoserver.importer.job.Job.call(Job.java:15)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
	at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:508)
	... 18 more

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo