This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARN 13:55:38,450 Error reading a field from document : SolrDocument[{id=134336550594031616, order=134336553672511488}] | |
java.lang.NullPointerException | |
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:52) | |
at java.nio.ByteBuffer.wrap(ByteBuffer.java:350) | |
at org.apache.solr.schema.BinaryField.toObject(BinaryField.java:60) | |
at org.apache.solr.schema.BinaryField.toObject(BinaryField.java:31) | |
at org.apache.solr.response.BinaryResponseWriter$Resolver.getDoc(BinaryResponseWriter.java:148) | |
at org.apache.solr.response.BinaryResponseWriter$Resolver.writeDocList(BinaryResponseWriter.java:122) | |
at org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryResponseWriter.java:86) | |
at org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:144) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ snowflake git:(master) ✗ sbt update | |
[info] Standard project rules 0.11.6 loaded (2011-03-21). | |
[info] Building project snowflake 1.0 against Scala 2.8.1 | |
[info] using SnowflakeProject with sbt 0.7.4 and Scala 2.7.7 | |
[info] | |
[info] == update == | |
[warn] Host download.java.net not found. url=http://download.java.net/maven/2/com/twitter/util-core/1.8.1/util-core-1.8.1-sources.jar | |
[info] You probably access the destination server through a proxy server that is not well configured. | |
[warn] Host download.java.net not found. url=http://download.java.net/maven/2/com/twitter/util-core/1.8.1/util-core-1.8.1-javadoc.jar | |
[info] You probably access the destination server through a proxy server that is not well configured. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ snowflake git:(master) sbt update | |
Getting org.scala-tools.sbt sbt_2.8.1 0.7.4 ... | |
:: problems summary :: | |
:::: WARNINGS | |
module not found: org.scala-tools.sbt#sbt_2.8.1;0.7.4 | |
==== local: tried | |
/Users/elben/.ivy2/local/org.scala-tools.sbt/sbt_2.8.1/0.7.4/ivys/ivy.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User.find_all_by_name("bob").each do |u| | |
u.update_something() | |
u.save() | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docs.forEach(function(doc) { | |
if(doc != null) { | |
var msg = doc['project_id'] + '. ' + doc['created_at'] + '. ' + doc['message']; | |
redis_client.smembers("conn:project:" + doc['project_id'], function(err, client_ids) { | |
client_ids.forEach(function(client_id, i) { | |
client = socketio.clients[client_id]; | |
if(typeof client != 'undefined') { | |
client.send(msg); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(i in docs) { | |
var doc = docs[i]; | |
if(doc != null) { | |
var msg = doc['project_id'] + '. ' + doc['created_at'] + '. ' + doc['message']; | |
sys.puts("I'll send " + msg); | |
redis_client.smembers("conn:project:" + doc['project_id'], function(err, client_ids) { | |
client_ids.forEach(function(client_id, i) { | |
client = socketio.clients[client_id]; | |
if(typeof client != 'undefined') { | |
client.send(msg); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set :application, "myapp" | |
set :repository, "[email protected]:myapp.git" | |
set :scm, :git | |
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none` | |
set :user, "ubuntu" | |
set :use_sudo, false | |
set :location, "MY_EC2_PUBLIC_DNS" | |
default_run_options[:pty] = true | |
ssh_options[:keys_only] = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Use \p to close this buffer! | |
java.io.FileNotFoundException: Could not locate test__init.class or test.clj on classpath: | |
at clojure.lang.RT.load(RT.java:412) | |
at clojure.lang.RT.load(RT.java:381) | |
at clojure.core$load$fn__4511.invoke(core.clj:4905) | |
at clojure.core$load.doInvoke(core.clj:4904) | |
at clojure.lang.RestFn.invoke(RestFn.java:409) | |
at clojure.core$load_one.invoke(core.clj:4729) | |
at clojure.core$load_lib.doInvoke(core.clj:4766) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Use \p to close this buffer! | |
Could not determine the Namespace of the file. | |
This might have different reasons. Please check, that the ng server | |
is running with the correct classpath and that the file does not contain | |
syntax errors. The interactive features will not be enabled, ie. the | |
keybindings will not be mapped. | |
Reason: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/code/ttt$ lein deps | |
Copying 2 files to /Users/eshira/code/ttt/lib | |
Overriding previous definition of reference to ttt | |
Overriding previous definition of reference to dependency.fileset | |
Copying 24 files to /Users/eshira/code/ttt/lib/dev | |
~/code/ttt$ lein deps | |
Exception in thread "main" java.lang.NullPointerException (NO_SOURCE_FILE:0) | |
at clojure.lang.Compiler.eval(Compiler.java:5440) | |
at clojure.lang.Compiler.eval(Compiler.java:5391) | |
at clojure.core$eval.invoke(core.clj:2382) |