Error tracing: Getting exception at the commented line

Error tracing: Getting exception at the commented line

public class MainActivity extends AppCompatActivity {
    JSONObject oAuthParams;
    private ActivityMainBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        binding = ActivityMainBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        Dexter.withContext(this).withPermissions(Manifest.permission.READ_EXTERNAL_STORAGE,
                Manifest.permission.WRITE_EXTERNAL_STORAGE).withListener(new MultiplePermissionsListener() {
            @Override
            public void onPermissionsChecked(MultiplePermissionsReport multiplePermissionsReport) {
                Toast.makeText(MainActivity.this, "Checked!", Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onPermissionRationaleShouldBeShown(List<PermissionRequest> list, PermissionToken permissionToken) {

            }
        }).check();
        oAuthParams = new JSONObject();
        oAuthParams.put("client_id", "1000.JPEVARGXLZ7A0DCXS5SWJD67BZQP8H");
        oAuthParams.put("client_secret", "1828b4d6b27f86ec3e0d678fe7db32bb0b8b12a189");
        oAuthParams.put("refresh_token", "1000.36381ce85872f1e9d8d4d98465f883d8.a64ea86b1cae0c70bc2c3187db3f9fe6");
        ZCAuth auth = ZCAuth.getInstance(oAuthParams);
        ZCProjectConfig config = ZCProjectConfig.newBuilder()
                .setProjectId(11431000000012157L)
                .setProjectKey("10047918014")
                .setZcAuth(auth)
                .setProjectDomain("https://catalystjava-788403152.development.catalystserverless.com")
                .setEnvironment("Development").build();
        ZCProject project = ZCProject.initProject(config,true);
        ZCObject object = ZCObject.getInstance(project);
        ZCTable table = null;
        try {
            table = object.getTable(11431000000012198L);
        } catch (Exception e) {
            //Exception caught ******************************************************************
            Toast.makeText(this, "Exception", Toast.LENGTH_SHORT).show();
            e.printStackTrace();
        }
        ZCRowObject row = ZCRowObject.getInstance();
        row.set("Name","George Smith");
        row.set("Age","25");
        try {
            table.insertRow(row);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

    • Announcements

    • Important Announcements in Support for Catalyst Features

      Hello Catalyst Users, This announcement is to bring to your notice some of the recent updates in our support for various Catalyst components, to ensure that your existing Catalyst applications function properly. You can continue to build robust applications
    • Introducing Catalyst 2.0, the simplest cloud-based pro-code development platform.

      Dear Catalyst Community, We are beyond thrilled to present you Catalyst 2.0—the new-age, pro-code development platform that redefines the way you build, deploy, and scale apps. Catalyst 2.0 is not a mere upgrade, but a significant leap into the future
    • Set budgets to optionally disable your Catalyst production environment

      Hello all,    We are pleased to inform you that you can now configure the automatic disabling of a project's production environment upon reaching a specified budget's threshold. Budget alerts in Catalyst facilitate setting usage limits in amounts or Catalyst
    • #CatalystServerless Hackathon 2022

      We are pleased to announce #CatalystServerless Hackathon with prizes worth $5000 up for grabs. Create a working prototype aimed to solve a critical business issue using Catalyst and stand a chance to win exciting prizes. The Hackathon will happen in 3
    • Share your interest to participate in the #CatalystServerless Blogathon

      Hi, we are working on announcing the next edition of the #CatalystServerless Blogathon. Please fill up this form to stay posted on all updates related to the Blogathon. https://zfrmz.com/JN9ChxPU9JQpPgB1vRp8

      Catalyst Community