org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: try to remove head"; SQL statement: MERGE INTO PACKAGES VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [50000-175]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you're not creating unused SQL entities, as it might cause this exception.

Solutions on the web

via Sonatype JIRA by Rich Seddon, 1 year ago
General error: "java.lang.RuntimeException: try to remove head"; SQL statement: MERGE INTO PACKAGES VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [50000-175]
via javatalks.ru by Unknown author, 1 year ago
Значение NULL не разрешено для поля "ID" NULL not allowed for column "ID"; SQL statement: insert into articles (article, dwnlddate) values (?, ?) [23502-169]
via GitHub by GoogleCodeExporter
, 2 months ago
General error: "java.lang.RuntimeException: page[11494] data leaf table:1227 TEMP_RESULT_SET_1227 entries:0 parent:0 keys:null offsets:null parent 0 expected 11927"; SQL statement: select distinct 9223372036854775807,jtbl0.relid,jtbl0.spanStart
via GitHub by wezell
, 2 years ago
Table "DOT_CLUSTER" not found; SQL statement: select cluster_id from dot_cluster [42102-169]
via Stack Overflow by raffian
, 2 years ago
Table "NOTE" not found; SQL statement: select this_.id as id0_0_, this_.version as version0_0_, this_.details as details0_0_, this_.title as title0_0_ from note this_ [42102-147]
via Google Groups by Uli, 2 years ago
General error: "java.lang.RuntimeException: Undo entry not written"; SQL statement: <-- as described in previous posts -->
org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: try to remove head"; SQL statement: MERGE INTO PACKAGES VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [50000-175]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:161)
at org.h2.message.DbException.convert(DbException.java:284)
at org.h2.table.RegularTable.addRow(RegularTable.java:137)
at org.h2.command.dml.Merge.merge(Merge.java:161)
at org.h2.command.dml.Merge.update(Merge.java:106)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:253)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
at com.sonatype.nexus.plugins.nuget.odata.ODataNugetGallery.put(ODataNugetGallery.java:456)
at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery$FeedLoader$1$1.consume(PassThroughNugetGallery.java:362)
at com.sonatype.nexus.plugins.nuget.odata.FeedSplicer.ended(FeedSplicer.java:108)
at com.sonatype.nexus.plugins.nuget.odata.XmlSplicer.consume(XmlSplicer.java:81)
at com.sonatype.nexus.plugins.nuget.odata.FeedSplicer.consumePage(FeedSplicer.java:57)
at com.sonatype.nexus.plugins.nuget.feed.NugetFeedFetcher.cachePackageFeed(NugetFeedFetcher.java:78)
at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery$FeedLoader$1.call(PassThroughNugetGallery.java:358)
at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery$FeedLoader$1.call(PassThroughNugetGallery.java:355)
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4739)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery.passQueryToRemoteRepos(PassThroughNugetGallery.java:289)
at com.sonatype.nexus.plugins.nuget.passthrough.PassThroughNugetGallery.feed(PassThroughNugetGallery.java:156)
at com.sonatype.nexus.plugins.nuget.rest.NugetGalleryResource.get(NugetGalleryResource.java:157)
at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
at org.restlet.resource.Resource.handleGet(Resource.java:464)
at org.restlet.Finder.handle(Finder.java:353)
at org.restlet.Filter.doHandle(Filter.java:150)
at org.restlet.Filter.handle(Filter.java:195)
at org.restlet.Router.handle(Router.java:504)
at org.restlet.Filter.doHandle(Filter.java:150)
at org.restlet.Filter.handle(Filter.java:195)
at org.restlet.Filter.doHandle(Filter.java:150)
at org.restlet.Filter.handle(Filter.java:195)
at org.restlet.Filter.doHandle(Filter.java:150)
at org.restlet.Filter.handle(Filter.java:195)
at org.restlet.Filter.doHandle(Filter.java:150)

Users with the same issue

Once, 7 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
4 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
150 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.