Skip to content

Instantly share code, notes, and snippets.

View MaximilianoRicoTabo's full-sized avatar

Maximiliano Rico MaximilianoRicoTabo

  • -
  • Montevideo - La Paloma
  • 21:57 (UTC -03:00)
View GitHub Profile
WARN Error rendering WebPanel (widgets/vibrancy.ftl): null
java.lang.NullPointerException
at com.teamhub.plugins.apigee.widgets.VibrancyWidgetContext.getContextMa
p(VibrancyWidgetContext.java:26)
at com.teamhub.infrastructure.plugins.widget.TeamHubPluginWebPanel.getHt
ml(TeamHubPluginWebPanel.java:38)
at sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1385
#suggested-topics-label {
display: block;
}
.tags .tag {
display: inline-block;
}
C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk>ant deploy-plugin -Dname=triumph
Buildfile: C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk\build.xml
deploy-plugin:
clean-plugin:
teamhub-ant:
compile-plugin:
[classPathList] C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk
[mkdir] Created dir: C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk\plugins\triumph\temp-lib
[javac] C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk\build.xml:49: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[delete] Deleting directory C:\Users\Maxi\Downloads\answerhub-sdk\answerhub-sdk\plugins\triumph\temp-lib package-plugin:
Description Resource Path Location Type
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/antlr-2.7.7.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/apache-log4j-extras-1.2.17.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/asm-3.2.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/asm-analysis-3.2.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/asm-commons-3.2.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/asm-tree-3.2.jar' answerhub Build path Build Path Problem
Project 'answerhub' is missing required library: 'deploy/teamhub.war/WEB-INF/lib/asm-util-3.2.jar' answerhub Build path Build Pa
mysql> SHOW ENGINES\G
*************************** 1. row ***************************
Engine: MyISAM
Support: YES
Comment: MyISAM storage engine
Transactions: NO
XA: NO
Savepoints: NO
*************************** 2. row ***************************
Engine: CSV
ERROR Error executing request: /triage/rest.json
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:82)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:61)
at org.hibernate.loader.Loader.getResultSet(Loader.java:2040)
at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1837)
at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1816)
at com.google.common.collect.FluentIterable.toSortedList(FluentIterable.java:342)
at com.teamhub.plugins.amazon.tutorial.models.series.Series.getOrderedTutorials(Series.java:60)
at com.teamhub.plugins.amazon.tutorial.models.series.Series.getPrevTutorial(Series.java:138)
at sun.reflect.GeneratedMethodAccessor690.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1385)
at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:70)
... 152 more
2016-ene-15 13:57:17,293 TeamHubFreemarkerExceptionHandler
WARN Error rendering WebPanel (widgets/spaces.ftl): Path expected for join! [select n from com.teamhub.models.site.Space n join Question jn join jn.metaDatas md where (jn.visibility='full' and md.type = 'VIEW_COUNT' and md.type = 'ANSWER_COUNT' and md.type = 'COMMENT_COUNT' and md.class='statistic') order by md.value DESC]
org.hibernate.hql.internal.ast.QuerySyntaxException: Path expected for join! [select n from com.teamhub.models.site.Space n join Question jn join jn.metaDatas md where (jn.visibility='full' and md.type = 'VIEW_COUNT' and md.type = 'ANSWER_COUNT' and md.type = 'COMMENT_COUNT' and md.class='statistic') order by md.value DESC]
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
at org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:79)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:257
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor668.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.teamhub.infrastructure.hibernate.SessionExtensionWrapper$1.call(SessionExtensionWrapper.java:126)
at com.teamhub.infrastructure.hibernate.SessionFactoryWrapperRunner.run(SessionFactoryWrapperRunner.java:13)
at com.teamhub.infrastructure.hibernate.SessionFactoryWrapperRunner$$FastClassByCGLIB$$be05fcab.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_YEAR, -30);
Date d = cal.getTime();
Map<String, Object> params = new HashMap<String, Object>();
params.put("date", d);
List<Space> spaceWrapper= queryManager.runSelect("select distinct space"
+ " from com.teamhub.models.action.Action action"
+ " inner join action.spaces space"