Niels Charlier (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-9532?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
) GEOS-9532 (
https://osgeo-org.atlassian.net/browse/GEOS-9532?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
) JDBCConfig import - insufficient logging with reference issues (
https://osgeo-org.atlassian.net/browse/GEOS-9532?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
)
Issue Type: Bug Assignee: Unassigned Created: 07/Mar/20 9:55 AM Priority:
Medium Reporter: Niels Charlier (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
)
JDBCConfig import fails when you have a layer that refers to a style that
doesn't exist (any more).
Technically, that means there is a fault in your data directory, however, the
objects that cause the problem should be mentioned in the logs by name so that
the user can fix the issue in his data directory, without needing to use a
debugger to find out what is causing the problem.
Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect
result size: expected 1, actual 0
at
org.springframework.dao.support.DataAccessUtils.nullableSingleResult(DataAccessUtils.java:97)
at
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForObject(NamedParameterJdbcTemplate.java:233)
at
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForObject(NamedParameterJdbcTemplate.java:241)
at
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForObject(NamedParameterJdbcTemplate.java:257)
at
org.geoserver.jdbcconfig.internal.ConfigDatabase.findObjectId(ConfigDatabase.java:879)
at
org.geoserver.jdbcconfig.internal.ConfigDatabase.addAttribute(ConfigDatabase.java:598)
at
org.geoserver.jdbcconfig.internal.ConfigDatabase.addAttributes(ConfigDatabase.java:566)
at org.geoserver.jdbcconfig.internal.ConfigDatabase.add(ConfigDatabase.java:535)
at
org.geoserver.jdbcconfig.internal.ConfigDatabase$$FastClassBySpringCGLIB$$dd464281.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at
org.geoserver.jdbcconfig.internal.ConfigDatabase$$EnhancerBySpringCGLIB$$46c3140d.add(<generated>)
at
org.geoserver.jdbcconfig.catalog.JDBCCatalogFacade.addInternal(JDBCCatalogFacade.java:908)
at
org.geoserver.jdbcconfig.catalog.JDBCCatalogFacade.add(JDBCCatalogFacade.java:297)
at
org.geoserver.catalog.impl.DefaultCatalogFacade.syncTo(DefaultCatalogFacade.java:991)
at
org.geoserver.catalog.impl.IsolatedCatalogFacade.syncTo(IsolatedCatalogFacade.java:471)
... 73 more
(
https://osgeo-org.atlassian.net/browse/GEOS-9532#add-comment?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-9532#add-comment?atlOrigin=eyJpIjoiOGE2MDgxMzJjYTgxNDRiZjg3YmNlOTkwNTIyOWE2YzIiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121-
sha1:b4d24b6 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel