Announcement

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

    NoSuchMethodError once new SmartClient version is applied

    We've just applied the following nightly build:
    SmartClient Version: SC_SNAPSHOT-2011-11-16/PowerEdition Deployment (built 2011-11-16)

    Our previous version was this:
    SC_SNAPSHOT-2011-08-02/PowerEdition Deployment 2011-08-02

    Now all of a sudden, a simple call to DSRequest.setCriteria() fails with a NoSuchMethodError. This happens only when running on our tomcat server. It does not have a problem when run under the eclipse IDE. The new jars in place where they old always have been.

    Here's the code:

    Code:
    DSRequest request = new DSRequest(IslandPacificDSConstants.DATASOURCE_Application, "fetch");
    HashMap criteria = new HashMap();
    criteria.put("id",id);
    request.setCriteria(criteria);
    DSResponse response = null;
    try {
    	response = request.execute();
    } catch (Exception e) {
    	e.printStackTrace();
    	return null;
    }
    Any thoughts?

    The error follows (from the tomcat localhost log).

    Thanks.

    java.lang.NoSuchMethodError: com.isomorphic.datasource.DSRequest.setCriteria(Ljava/lang/Object;)V
    at com.islandpacific.gui.security.domain.IpApplicationManager.findById(IpApplicationManager.java:59)
    at com.islandpacific.gui.security.domain.IpEnvironmentManager.getEnvironmentFromRecord(IpEnvironmentManager.java:111)
    at com.islandpacific.gui.security.domain.IpEnvironmentManager.findAll(IpEnvironmentManager.java:80)
    at com.islandpacific.gui.security.IpAuthenticationServiceImpl.getAllEnvironments(IpAuthenticationServiceImpl.java:90)
    at com.islandpacific.gui.security.IpAuthenticationServiceImpl.getUserDetails(IpAuthenticationServiceImpl.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
    Last edited by lgorlin; 22 Nov 2011, 10:15.
Working...
X