Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    java.lang.NoSuchMethodError: getGroupByFields

    Hi everyone,
    I have an war file which deploys and runs properly in my local machine.
    The problem is that when I deploy and run the same war file in the production environment, I get the following error.

    Does anybody knows anything about how to solve this issue.

    I'm running Smartclient version 9.0 Pro.
    Oracle database
    Weblogic




    === 2013-12-05 15:00:23,708 [ng)'] DEBUG XML - Parsed XML from (in memory stream): 2ms
    === 2013-12-05 15:00:23,711 [ng)'] DEBUG XML - Parsed XML from __USE_CONTAINER__/isomorphic/system/schema/List.ds.xml: 1ms
    === 2013-12-05 15:00:23,759 [ng)'] DEBUG RPCManager - Processing 1 requests.
    === 2013-12-05 15:00:23,789 [ng)'] DEBUG RPCManager - Request #1 (DSRequest) payload: {
    criteria:{
    },
    operationConfig:{
    dataSource:"batcherMessageDS",
    operationType:"fetch",
    textMatchStyle:"substring"
    },
    startRow:0,
    endRow:75,
    componentId:"messageList",
    appID:"builtinApplication",
    operation:"batcherMessageDS_fetch",
    oldValues:{
    }
    }
    === 2013-12-05 15:00:23,792 [ng)'] INFO IDACall - Performing 1 operation(s)
    === 2013-12-05 15:00:23,879 [ng)'] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
    === 2013-12-05 15:00:23,879 [ng)'] DEBUG DeclarativeSecurity - DataSource batcherMessageDS is not in the pre-checked list, processing...
    === 2013-12-05 15:00:40,952 [ng)'] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
    === 2013-12-05 15:00:40,952 [ng)'] DEBUG DeclarativeSecurity - DataSource batcherMessageDS is not in the pre-checked list, processing...
    === 2013-12-05 15:00:40,957 [ng)'] DEBUG AppBase - [builtinApplication.batcherMessageDS_fetch] No userTypes defined, allowing anyone access to all operations for this application
    === 2013-12-05 15:00:40,959 [ng)'] DEBUG AppBase - [builtinApplication.batcherMessageDS_fetch] No public zero-argument method named '_batcherMessageDS_fetch' found, performing generic datasource operation
    === 2013-12-05 15:00:40,989 [ng)'] INFO SQLDataSource - [builtinApplication.batcherMessageDS_fetch] Performing fetch operation with
    criteria: {} values: {}
    === 2013-12-05 15:00:41,025 [ng)'] DEBUG DataSourceDMI - Invocation threw exception
    java.lang.NoSuchMethodError: getGroupByFields
    at com.isomorphic.sql.SQLSelectClause.<init>(SQLSelectClause.java:94)
    at com.isomorphic.sql.SQLDataSource.getClausesContext(SQLDataSource.java:2536)
    at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1425)
    at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:408)
    at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:352)
    at com.isomorphic.datasource.DataSource.execute(DataSource.java:1368)
    at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2017)
    at net.cnsonline.batcher.operations.message.MessageOperations.fetch(MessageOperations.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:972)
    at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
    at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2014)
    at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    === 2013-12-05 15:00:41,342 [ng)'] ERROR IDACall - Top-level servlet error:
    java.lang.NoSuchMethodError: getGroupByFields
    at com.isomorphic.sql.SQLSelectClause.<init>(SQLSelectClause.java:94)
    at com.isomorphic.sql.SQLDataSource.getClausesContext(SQLDataSource.java:2536)
    at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1425)
    at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:408)
    at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:352)
    at com.isomorphic.datasource.DataSource.execute(DataSource.java:1368)
    at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2017)
    at net.cnsonline.batcher.operations.message.MessageOperations.fetch(MessageOperations.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:972)
    at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
    at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2014)
    at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    #2
    You've got older .jars, or more than one copy of .jars, on the environment where you are seeing this error.

    Comment


      #3
      Thank you very much.
      I had two versions of Isomorphic inside my war file.
      Thank you again.

      Comment

      Working...
      X