Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7969363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:13:32+00:00 2026-06-04T07:13:32+00:00

Here are the errors I have been receiving; 05-16 04:42:07.579: E/dalvikvm(548): Could not find

  • 0

Here are the errors I have been receiving;

05-16 04:42:07.579: E/dalvikvm(548): Could not find class 'com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$MyConstraintViolation', referenced from method com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$StandardPayloadDialect.processPayload
05-16 04:42:08.209: E/dalvikvm(548): Could not find class 'javax.validation.ConstraintViolation', referenced from method com.google.web.bindery.requestfactory.shared.Receiver.onConstraintViolation

So here is the code for the main class. It stops working after the Hello Toast message which I made just for experimenting.

package com.ncwitmobileapp;
import com.ncwitmobileapp.R;
import com.ncwitmobileapp.client.MyRequestFactory;
import com.ncwitmobileapp.client.MyRequestFactory.HelloWorldRequest;
import com.ncwitmobileapp.client.MyRequestFactory.NCWITMOBILEAPPRequest;


import com.google.gwt.core.client.GWT;
import com.google.web.bindery.requestfactory.shared.Receiver;
import com.google.web.bindery.requestfactory.shared.ServerFailure;

import android.R.color;
import android.app.Activity;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.Editable;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;


public class Login_Screen extends Activity
{
    private static final String TAG = "Techchicks";

    /**
     * The current context.
     */
    private Context mContext = this;

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        requestWindowFeature(Window.FEATURE_NO_TITLE); 
        super.onCreate(savedInstanceState);      
        setContentView(R.layout.logins);

        final Button login = (Button)findViewById(R.id.login);
        login.setOnClickListener(new View.OnClickListener() {
            public void onClick(View lb) {
                //communicate with App Engine
                //goes to the Menu Page

                //gets username and password from user(Editables)

                EditText un=(EditText)findViewById(R.id.username);
                EditText ps=(EditText)findViewById(R.id.password);

                final String username = un.getText().toString();
                final String password = ps.getText().toString();
                final Context context = getApplicationContext();
                CharSequence text = "Hello toast!";
                int duration = Toast.LENGTH_SHORT;


                Toast toast = Toast.makeText(context, text, duration);
                toast.show();



                login.setEnabled(false);
                Log.i(TAG, "preparing request to send to server");
                login.setEnabled(false);
                Log.i(TAG, "preparing request to send to server");

                // Use an AsyncTask to avoid blocking the UI thread
                new AsyncTask<Void, Void, String>() {
                    private String message;

                    @Override
                    protected String doInBackground(Void... arg0) {

                        MyRequestFactory requestFactory = Util.getRequestFactory(mContext, MyRequestFactory.class);

                        final NCWITMOBILEAPPRequest request = requestFactory.nCWITMOBILEAPPRequest();
                        Log.i(TAG, "Sending request to server");
                        request.getAuthenticatedTechicksmember(username, password).fire(new Receiver<String>() {
                            @Override
                            public void onFailure(ServerFailure error) {
                                message = "Failure: " + error.getMessage();
                            }

                            @Override
                            public void onSuccess(String result) {
                                message = result;
                                Log.i(TAG,"got back a hello world message");
                            }
                        });
                        CharSequence tet = message;
                        int duration = Toast.LENGTH_SHORT;


                        Toast toast = Toast.makeText(context, tet, duration);
                        toast.show();
                        return message; 
                    }

                }.execute();

            }
        });

        Button register = (Button)findViewById(R.id.register);
        register.setOnClickListener(new View.OnClickListener() {
            public void onClick(View lb) {
                //goes to the Registration Page
            }
        });

        Button forgotpassword = (Button)findViewById(R.id.forgotpassword);
        forgotpassword.setOnClickListener(new View.OnClickListener() {
            public void onClick(View lb) {
                //goes to the Forgot Password Page
            }
        });
    }
}

And here is the code from the Service Class:

package com.ncwitmobileapp.server;

import java.util.List;
import java.util.logging.Logger;

import com.ncwitmobileapp.annotation.ServiceMethod;

public class NCWITMOBILEAPPService {

     private static final Logger log = Logger.getLogger(NCWITMOBILEAPPService.class.getName());

      public NCWITMOBILEAPPService() {
      }

    @ServiceMethod
    public Techicksmember createTechicksmember() {
        // TODO Auto-generated method stub
        return null;
    }

    @ServiceMethod
    public static String getAuthenticatedTechicksmember(String userName, String password) {
         log.info("Called authenticateTechicksmember");
         log.info("userName = " + userName + " password = " + password);
        // return ("Success");

        Datastore db = new  Datastore();
        Techicksmember member = db.find(userName);
        if (member==null){
            return "Member not existant";
        }
        if (member.getPassword()==password){
            return "Identity validated!";
        }

        return "Identity Invalidated";

    }

    @ServiceMethod
    public Techicksmember readTechicksmember(Long id) {
        // TODO Auto-generated method stub
        return null;
    }

    @ServiceMethod
    public Techicksmember updateTechicksmember(Techicksmember techicksmember) {
        // TODO Auto-generated method stub
        return null;
    }

    @ServiceMethod
    public void deleteTechicksmember(Techicksmember techicksmember) {
        // TODO Auto-generated method stub

    }

    @ServiceMethod
    public List<Techicksmember> queryTechicksmembers() {
        // TODO Auto-generated method stub
        return null;
    }

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:13:33+00:00Added an answer on June 4, 2026 at 7:13 am

    It seems as though the compiler can’t locate where the files are you’re trying to import. As seen here, com.google.web isn’t a standard package of Android. If you have those files somewhere else, you may have to adjust your build path to include their location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use beaker cache with SQLAlchemy but I've been receiving errors. Here
I'm trying to utilize setDebugFlags as recommended here to scan for opengl errors: http://developer.android.com/resources/articles/glsurfaceview.html
I am receiving repeated errors from my asp.net ecommerce web app. I am beginning
I've been using Rspec for a while and for some reason am receiving errors
In my program, I have been receiving an error when I use a command-line
So I have been asking questions here trying to get the answer for myself
I have a gwt project that uses gwt-mosaic. Here is the error message I
I have two arrays: $array1 = array(1=>1,10=>1,12=>0,13=>13); $array2 = array(1=>Hello,10=>Test,12=>check,13=>error); Here $array1 has keys
I am going to paste here my code and errors: #include stdio.h #include winsock2.h
What's wrong in here, I always get some nasty errors even if the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.