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

Solutions on the web

via GitHub by michaelsproul
, 1 year ago
SQL [insert into "public"."message" ("metadata") values (cast(? as varchar))]; Batch entry 0 insert into "public"."message" ("metadata") values (cast(NULL as varchar)) was aborted: ERROR: column "metadata" is of type json but expression is of type character varying Hint: You will need to rewrite or cast the expression. Position: 258 Call getNextException to see the cause.
via Google Groups by Unknown author, 1 year ago
SQL [select `book_author`.`book_id`, `book_author`.`author_id` from `book_author` where (`book_author`.`book_id` = ? and `book_author`.`author_id` = ?) for update]; Can not issue executeUpdate() or executeLargeUpdate() for SELECTs
via GitHub by davidwatkins73
, 1 year ago
SQL [select .[id], .[name], .[description], .[kind], .[parent_id], .[created_at], .[updated_at] from [organisational_unit] where (CONTAINS(*, '3d AND [pr')) order by (select 0) offset 0 rows fetch next ? rows only]; Syntax error near '[' in the full-text search condition '3d AND [pr'.
via GitHub by kovax
, 1 year ago
SQL [create table if not exists EVENT(UUID varchar not null, ID int not null, TIMESTAMP timestamp with time zone not null, constraint "PK_EVENT" primary key (UUID, ID))]; length must be specified in type definition: VARCHAR in statement [create
via GitHub by kovax
, 1 year ago
SQL [create table if not exists EVENT(UUID uuid not null, ID int not null, TIMESTAMP timestamp with time zone not null, constraint "PK_EVENT" primary key (UUID, ID))]; Syntax error in SQL statement "CREATE TABLE IF NOT EXISTS EVENT(UUID UUID NOT
via GitHub by alyphen
, 2 months ago
SQL [insert into `rpkit_block_inventory_change` (`block_history_id`, `time`, `profile_id`, `minecraft_profile_id`, `character_id`, `from`, `to`, `reason`) values (?, ?, ?, ?, ?, ?, ?, ?)]; Data truncation: Data too long for column 'reason' at row 1 at org.jooq_3.9.2.MYSQL.debug(Unknown Source) ~[?:?]
java.sql.BatchUpdateException: Batch entry 0 insert into "public"."message" ("campaign_id", "conversation_id", "start_state", "end_state", "link_followed", "kind", "sender", "recipient", "content", "metadata", "timestamp", "source") values (777, 15, '<<start>>', 'askEmail', 0, 'outbound_sms'::"public"."message_kind", '+61418974654', '+61434193516', 'Hi friend, what''s your email?', cast(NULL as varchar), 1474442678514002972, 0) was aborted: ERROR: column "metadata" is of type json but expression is of type character varying
  Hint: You will need to rewrite or cast the expression.
  Position: 258  Call getNextException to see the cause.	at org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:148)	at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:780)	at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1662)	at org.jooq.tools.jdbc.DefaultStatement.executeBatch(DefaultStatement.java:93)	at org.jooq.impl.BatchSingle.executePrepared(BatchSingle.java:239)	at org.jooq.impl.BatchSingle.execute(BatchSingle.java:182)	at org.jooq.impl.BatchCRUD.executePrepared(BatchCRUD.java:159)	at org.jooq.impl.BatchCRUD.execute(BatchCRUD.java:100)	at rungopher.db_access.DbMessage.persist(DbMessage.java:46)	at rungopher.StartCampaign.sendFirstMessages(StartCampaign.java:166)	at rungopher.StartCampaign.start(StartCampaign.java:85)	at rungopher.CampaignEventHandler.handleDelivery(CampaignEventHandler.java:46)	at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144)	at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)