1. #1
    Ext User
    Join Date
    Feb 2010
    Posts
    19
    Vote Rating
    0
    stockhausen is on a distinguished road

      0  

    Default RPC-call problem: it must have a zero-argument constructor or no constructors at all

    RPC-call problem: it must have a zero-argument constructor or no constructors at all


    Hello,

    I have a RPC-call problem.

    I get the following error: Screenshot

    EntriesService.java

    HTML Code:
    @RemoteServiceRelativePath("entries")
    public interface EntriesService extends RemoteService {
        boolean updateAllEntries(long userid, EditorGrid<Entry> grid);
    }
    Entry.java
    Code:
    public class Entry extends BaseTreeModel implements IsSerializable {
    
        private static final long serialVersionUID = 1L;
    
        private long id;
        private String firstname;
        private String lastname;
        
        public Entry() {
            
        }
    
        public long getId() {
            return get("id");
        }
    
        public void setId(long id) {
            set("id", id);
        }
        
        public String getFirstname() {
            return get("firstname");
        }
    
        public void setFirstname(String firstname) {
            set("firstname", firstname);
        }
    
        public String getLastname() {
            return get("lastname");
        }
    
        public void setLastname(String lastname) {
            set("lastname", lastname);
        }
    
    }
    My Entry-class has implemented IsSerializable and a zero-argument constructor!!


    Simple example ( eclipse project - 300K )
    http://www.file-upload.net/download-...oject.zip.html


    Whats the reason of this problem?


    Thanks,
    Michael

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You try to send the grid widget object to the server. This cannot work.

  3. #3
    Ext User
    Join Date
    Feb 2010
    Posts
    19
    Vote Rating
    0
    stockhausen is on a distinguished road

      0  

    Default


    Thanks again Sven

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi