Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Nil pointer dereference when inserting data with kwil-cli #1194

Open
KwilLuke opened this issue Jan 3, 2025 · 0 comments
Open

Bug: Nil pointer dereference when inserting data with kwil-cli #1194

KwilLuke opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@KwilLuke
Copy link
Contributor

KwilLuke commented Jan 3, 2025

Version / Commit

main

Operating System

Darwin-Arm64

Configuration

I have a table created with the following query:

{luke}CREATE TABLE posts (id int primary key, name text not null)

Expected Behavior

If i insert data with the following command, I expect it to be added to the table:

./kwil-cli database execute -s '{luke}INSERT INTO posts(id, name) VALUES (1, 'luke')' --sync

Actual Behavior

I get this error:

lukelamey@Lukes-MBP-2 .build % ./kwil-cli database execute -s '{luke}INSERT INTO posts(id, name) VALUES (1, 'luke')' --sync
TxHash: 62be2762b555c1d8da4ae8389b0bd4d194d22a88fbb68e442152847cc7d8741f
Status: failed
Height: 3427
Log: runtime error: invalid memory address or nil pointer dereference

Steps to Reproduce

Set up table and insert data with latest kwil-cli build on main.

Additional Information

This bug may be related to #1195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant