Java compile error - Nullpointer exception
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Guillaume Bort | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm trying to use play together with katta (0.6-dev from trunk) (katta.
The following code will make the play java compiler fail (play precompile Testproject) with a nullpointer exception. I attached the necessary katta library in order to run the test case!
import java.lang.
import java.util.Arrays;
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import net.sf.
import org.apache.
/**
* Default implementation of {@link ILuceneClient}.
*/
public class CompileError extends LuceneClient {
protected final static Logger LOG = Logger.
private final static long TIMEOUT = 12000;
}
java.lang.
at org.eclipse.
ype(BinaryTypeB
at org.eclipse.
mTypeSignature(
at org.eclipse.
mVariantTypeSig
at org.eclipse.
umentsFromSigna
at org.eclipse.
mTypeSignature(
at org.eclipse.
From(BinaryType
at org.eclipse.
ryTypeFrom(
at org.eclipse.
ryTypeFrom(
at org.eclipse.
at org.eclipse.
(LookupEnvironm
at org.eclipse.
esolve(
at org.eclipse.
e(BinaryTypeBin
at org.eclipse.
age(PackageBind
at org.eclipse.
ort(Compilation
at org.eclipse.
gleImport(
at org.eclipse.
Imports(
at org.eclipse.
Types(Compilati
at org.eclipse.
at org.eclipse.
at play.classloadi
a:262)
at play.classloadi
ssloader.java:334)
at play.Play.
at play.Play.
at play.server.
When I include that file (haven't tested with the stripped down version from above), play will also complain about @Override tags in my own application files.