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 8501541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:14:26+00:00 2026-06-11T01:14:26+00:00

I followed all advices on http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/doc/helpInfo/jsoRestrictions.html and still get the infamous <init>$ error. The

  • 0

I followed all advices on http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/doc/helpInfo/jsoRestrictions.html and still get the infamous <init>$ error.

The following statement triggers the error:

final OpenCTM ctm = OpenCTM.create();

Where OpenCTM is:

public final class OpenCTM extends GObject {

    protected OpenCTM() {}

    public static native OpenCTM create() /*-{
        return new $wnd.GLGE.OpenCTM();
    }-*/;

    public native void setSrc(String url, String relativeTo) /*-{
        this.setSrc(url, relativeTo);
    }-*/;

}

The whole code is located in my GitHub repository and is still pretty small. I’m trying to write a wrapper library for the GLGE framework.

I really don’t know what to do anymore.

  • 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-11T01:14:28+00:00Added an answer on June 11, 2026 at 1:14 am

    It turned out that the error was a subsequent error and has hidden the root cause.

    The solution is to actually compile this whole thing now and then, although theoretically unnecessary in dev mode. This led to:

    Errors in 'file:/.../MaterialLayer.java'
           Line 90: missing formal parameter
    > function (in) {
    > ------------^
    

    The corresponding Java code was:

    public native void setMapinput(int in) /*-{
        this.setMapinput(in);
    }-*/;
    

    As in is a reserved word in JS, this probably led to some subsequent problems. Long story short, I changed the parameter to input and got it working…

    Frustrating!

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

Sidebar

Related Questions

I followed all of the instructions so far from: http://code.google.com/p/appengine-jruby/wiki/RunningRails and http://gist.github.com/268192 Currently, I'm
I just installed Web Developer Express 2008 and the MVC framework (followed all the
I followed this tutorial http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html I wrote the manifest File giving all the permissions
I've followed advice on how to setup 404s by: http://www.andornot.com/about/developerblog/archive/2009_10_01_archive.aspx and related: Best way
I followed the guide here http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.html but I cannot find the proper way to
I followed the Google Apps Script JDBC example shown at https://developers.google.com/apps-script/jdbc but have been
I have followed this tutorial ( http://developer.android.com/resources/tutorials/views/hello-tabwidget.html ) and completed the task and it
I followed all the steps in the basic Phonegap tutorial (Eclipse, Android SDK, ADT
So followed all the basic tutorials. Am using Zend 1.8 but i keep getting
I followed all the steps given in this blog. When i am trying to

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.