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

select * from "IHS.*-*.1h" where empty(ratio) limit 1 #714

Closed
wants to merge 1 commit into from

Conversation

jvshahid
Copy link
Contributor

[2014/07/04 22:24:15 IST] EROR _BUG_
Database: ratios
Query: [select * from IHS.-.1h where empty(ratio) limit 1]
Error: runtime error: invalid memory address or nil pointer dereference. Stacktrace: goroutine 183997 [running]:
common.RecoverFunc(0xc2142147e6, 0x6, 0xc217b54d40, 0x33, 0x7fda76578eb8)
/home/vagrant/influxdb/src/common/recover.go:14 +0xb7
runtime.panic(0x8a29e0, 0x1042b68)
/home/vagrant/bin/go/src/pkg/runtime/panic.c:248 +0x106
engine.matchesExpression(0xc215543fa0, 0xc213634050, 0x5, 0x5, 0xc217b54dc0, ...)
/home/vagrant/influxdb/src/engine/filtering.go:69 +0x235
engine.matches(0xc212ee5b70, 0xc213634050, 0x5, 0x5, 0xc217b54dc0, ...)
/home/vagrant/influxdb/src/engine/filtering.go:75 +0x91
engine.Filter(0xc2185be700, 0xc213634140, 0xc213634140, 0x50, 0x450600)
/home/vagrant/influxdb/src/engine/filtering.go:156 +0x2d4
engine.(_FilteringEngine).YieldSeries(0xc215420820, 0xc213634140, 0x7fdac6c11060)
/home/vagrant/influxdb/src/engine/filtering_engine.go:35 +0x78
datastore.(_LevelDbShard).executeQueryForSeries(0xc213f5c900, 0xc210175e60, 0xc2134cb5e0, 0xa, 0xc2154208e0, ...)
/home/vagrant/influxdb/src/datastore/leveldb_shard.go:319 +0x1e36
datastore.(*LevelDbShard).Query(0xc213f5c900, 0x

[2014/07/04 22:24:15 IST] EROR Error while executing query: Internal Error: runtime error: invalid memory address or nil pointer dereference

@oldfaust oldfaust changed the title select * from IHS.*-*.1h where empty(ratio) limit 1 select * from "IHS.*-*.1h" where empty(ratio) limit 1 Jul 4, 2014
@pauldix
Copy link
Member

pauldix commented Sep 8, 2014

lgtm

@jvshahid jvshahid closed this in 71ccbdc Sep 8, 2014
@jvshahid jvshahid deleted the fix-714 branch September 9, 2014 15:50
jvshahid added a commit that referenced this pull request Sep 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants