Created
January 23, 2011 21:11
-
-
Save edoloughlin/792443 to your computer and use it in GitHub Desktop.
This fails with NPE on line 1...
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
(ns myapp.domain.user | |
(:require clj-record.boot) | |
(:require | |
[myapp.util.date :as date-util] | |
[clj-time.core :as clj-time] | |
[clojure.contrib.sql :as sql] | |
[clj-record.validation.built-ins :as valid] | |
[clj-record.callbacks.built-ins :as cb] | |
[clj-time.core :as clj-time] | |
[myapp.config :as config] | |
[myapp.util.encrypt :as encrypt] | |
[myapp.util.date :as date-util] | |
[myapp.domain.email-status :as email-status]) | |
(:use clojure.contrib.condition)) | |
; Function definitions etc. follow... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run my app (from CounterClockwise), I get this:
Clojure 1.2.0
java.lang.RuntimeException: java.lang.NullPointerException (user.clj:1)
1:1 user=>
My line 1 is just the namespace declaration and a bunch of imports (see above). I tried reverting line 1 to my last successful checkin, but the problem remains. It's obviously caused elsewhere in my app. How to I go about diagnosing this?