Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite name="account" errors="0" tests="8" failures="0" time="3.838" timestamp="2012-01-05T10:56:02">
<testcase classname="account" name="has an account node" time="0.386"></testcase>
<testcase classname="account" name="has a browser check node" time="0"></testcase>
<testcase classname="account" name="has a username input box" time="0"></testcase>
<testcase classname="account" name="has a password input box" time="0.001"></testcase>
<testcase classname="account" name="has a login submit button" time="0"></testcase>
<testcase classname="account" name="passes the browser check within 10 seconds" time="1.163"></testcase>
<testcase classname="account" name="displays an error for bad password" time="0.922"></testcase>
[greg:~/Projects/emi/code/client-itest ] $ phantomjs --load-plugins=no script.js http://dev-play.emi-lax.vm/client/search.html
Finished: Thu Jan 05 2012 10:40:47 GMT-0800 (PST)
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite name="account" errors="0" tests="8" failures="1" time="12.646" timestamp="2012-01-05T10:40:35">
<testcase classname="account" name="has an account node" time="0.015"></testcase>
<testcase classname="account" name="has a browser check node" time="0"></testcase>
<testcase classname="account" name="has a username input box" time="0"></testcase>
<testcase classname="account" name="has a password input box" time="0"></testcase>
<testcase classname="account" name="has a login submit button" time="0.001"></testcase>
YUI().use('datasource-io', 'datasource-jsonschema', 'gallery-modellist-datasource', 'model', 'list-view', function (Y) {
// Can use any type of DataSource here
var ds = new Y.DataSource.IO({
source : '/path?',
plugins : [{fn : Y.Plugin.DataSourceJSONSchema}]
});
// Just creating a basic model for testing
var TestModel = Y.Base.create('test-model', Y.Model, [], {}, {
java.lang.NullPointerException
at org.hibernate.ejb.criteria.path.AbstractPathImpl.unknownAttribute(AbstractPathImpl.java:110)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.locateAttribute(AbstractPathImpl.java:218)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:189)
at emi.somase.data.dao.IngestTimelineEntryDao.allForDataset(IngestTimelineEntryDao.java:84)
at emi.somase.data.dao.IngestTimelineEntryDao$$FastClassByCGLIB$$6fb5e586.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
INTERNAL_SERVER_ERROR</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at org.hibernate.ejb.criteria.path.AbstractPathImpl.unknownAttribute(AbstractPathImpl.java:110)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.locateAttribute(AbstractPathImpl.java:218)
at org.hibernate.ejb.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:189)
at emi.somase.data.dao.IngestTimelineEntryDao.allForDataset(IngestTimelineEntryDao.java:84)
at emi.somase.data.dao.IngestTimelineEntryDao$$FastClassByCGLIB$$6fb5e586.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
Sep 29, 2011 2:38:11 PM com.sun.jersey.api.container.filter.LoggingFilter filter
INFO: 4 * Server in-bound request
4 > POST http://localhost:8666/somase/fixation-datasets/upload
4 > Host: localhost:8666
4 > User-Agent: Adobe Flash Player 10
4 > Content-Length: 3384
4 > x-flash-version: 10,3,183,10
4 > Accept-Types: text/*
4 > Content-Type: multipart/form-data; boundary=----------Ij5KM7Ij5Ef1cH2ae0GI3Ij5cH2KM7
4 > Connection: close
2011-09-29 12:52:59.207::WARN: /somase/fixation-datasets/upload
java.lang.NullPointerException
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
at emi.somase.web.FixationDatasets.uploadNew(FixationDatasets.java:686)
at emi.somase.web.FixationDatasets$$FastClassByCGLIB$$b26a5614.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
2011-09-29 11:48:29.997::WARN: /somase/fixation-datasets/upload
java.lang.NullPointerException at emi.somase.web.FixationDatasets.uploadNew(FixationDatasets.java:591)
at emi.somase.web.FixationDatasets$$FastClassByCGLIB$$b26a5614.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at emi.somase.web.FixationDatasets$$EnhancerByCGLIB$$9a9887cd.uploadNew(<generated>)
ContainerResponse 2011-09-29 11:48:29,996 -- ERROR -- The RuntimeException could not be mapped to a response, re-throwing to th
e HTTP container
java.lang.NullPointerException
at emi.somase.web.FixationDatasets.uploadNew(FixationDatasets.java:591)
at emi.somase.web.FixationDatasets$$FastClassByCGLIB$$b26a5614.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
{
-
responseHeader: {
status: 0
QTime: 0
queryUUID: "b7a56657-e80c-4b6e-a373-5204334cf7ab"
}
-
response: {