|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
错误如下:
UIServer错误URI:/x5/wlmyqc/goalManage/process/thirdLevelGoal/mainActivity.w错误码:500错误信息:java.lang.NullPointerException
[url=]隐藏错误详细[/url]java.lang.NullPointerException at BizData.processData(BizData.java:339) at BizData.execute(BizData.java:59) at com.justep.xbl.runtime.TemplateEngine.computeJavaTemplate(Unknown Source) at com.justep.xbl.runtime.TemplateEngine.exeucte(Unknown Source) at com.justep.xbl.runtime.XBLEngine.parserBinding(Unknown Source) at com.justep.xbl.runtime.XBLEngine.parser(Unknown Source) at com.justep.xbl.runtime.XBLEngine.parser(Unknown Source) at com.justep.xbl.runtime.XBLEngine.parser(Unknown Source) at com.justep.xbl.runtime.XBLEngine.excute(Unknown Source) at com.justep.ui.util.UIUtils.xbl(Unknown Source) at com.justep.ui.WindowCompiler.w2Middle(Unknown Source) at com.justep.ui.WindowCompiler.compile(Unknown Source) at com.justep.ui.WindowServer.getWindow(Unknown Source) at com.justep.ui.WindowServer.service(Unknown Source) at com.justep.ui.servlet.MainServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:595)
模型检查情况如下:
开始检查......
正在检查: /UI/wlmyqc/goalManage/process/thirdLevelGoal/mainActivity.w
检查结束!
检查结果:0 个错误,0 个警告。
检查用时:0 秒。
mainActivity.w文件中就一个bizData,调用的我重写的queryAction
目前的情况是连我的queryAction都没进来,就直接报了UIServer的错误。好无解啊~
public static Table queryYC_GOALRELATION(List range,String concept,String select,String from,String aggregate,String dataModel,String fnModel,String condition,Boolean distinct,
String idColumn,String filter,Integer limit,Integer offset,String columns,String orderBy,String aggregateColumns,Map variables){
System.out.println("----I'm In----");
StringBuffer buffer = new StringBuffer(1000);
Table table = null;
if("role".equals(condition)){
buffer.append("select count(YC_GOALRELATION) AMT")
.append(" from YC_GOALRELATION YC_GOALRELATION")
.append(" join SA_OPOrg SA_OPOrg on YC_GOALRELATION.fg_relationId = SA_OPOrg")
.append(" join YC_THIRDLEVELGOAL YC_THIRDLEVELGOAL on YC_GOALRELATION.fg_goalId = YC_THIRDLEVELGOAL")
.append(" join YC_SECONDLEVELGOAL YC_SECONDLEVELGOAL on YC_THIRDLEVELGOAL.ft_secondLevelGoal = YC_SECONDLEVELGOAL");
/*if(filter!=null && !"".equals(filter)){
buffer.append(" AND ")
}*/
table = KSQL.select(buffer.toString(), variables, dataModel, null);
Row countRow = table.getRow(0);
System.out.println("countRow-->"+countRow);
if(countRow!=null)
System.out.println(countRow.getInt("AMT"));
}
return table;
|
|