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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:43:44+00:00 2026-06-18T09:43:44+00:00

I have got problem with my smartgwt when its all fine working when I

  • 0

I have got problem with my smartgwt when its all fine working when I am using smartgwt 2.2 but when I am using smartgwt 4.0b (night build) I have got error:

00:00:48,253 [ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (null) @com.smartgwt.client.widgets.tree.Tree::create()([]): null   at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)  at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)   at com.smartgwt.client.widgets.tree.Tree.create(Tree.java)  at com.smartgwt.client.core.BaseClass.getOrCreateJsObj(BaseClass.java:120)  at com.smartgwt.client.widgets.tree.TreeGrid.setData(TreeGrid.java:2393)    at pl.fizzycomp.departments.gwt.client.DepartmentsMainView.setModelData(DepartmentsMainView.java:175)   at com.test.departments.gwt.client.DepartmentsMainPresenter.setDepartments(DepartmentsMainPresenter.java:208)   at com.test.gwt.client.DepartmentsApp$2.onSuccess(DepartmentsApp.java:80)   at com.test.gwt.client.DepartmentsApp$2.onSuccess(DepartmentsApp.java:1)

I dont know what is wrong this is my code in DepartmentsMainView:

tree = new Tree();
tree.setModelType(TreeModelType.PARENT);
tree.setNameProperty(DepartmentTreeNode.NAME_FIELD);
tree.setParentIdField(DepartmentTreeNode.PARENT_ID_FIELD);
tree.setIdField(DepartmentTreeNode.ID_FIELD);


tree.setData(nodes.toArray(new DepartmentTreeNode[nodes.size()]));          

grid.setData(tree);

and my DepartmentTreeNode:

public class DepartmentTreeNode extends TreeNode implements IDepartmentTreeNode {
    public static final String ID_FIELD = "idField";
    public static final String NAME_FIELD = "nameField";
    public static final String CODE_FIELD = "codeField";
    public static final String DESCRIPTION_FIELD = "descriptionField";
    public static final String PARENT_ID_FIELD = "parentId";
    public static final String VERSION_FIELD = "versionField";

    public DepartmentTreeNode(DepartmentDto dto) {
        setTitle(dto.getName());

        setAttribute(ID_FIELD, dto.getId());
        setAttribute(PARENT_ID_FIELD, dto.getParentId());
        setDepartmentName(dto.getName());
        setAttribute(CODE_FIELD, dto.getCode());
        setAttribute(DESCRIPTION_FIELD, dto.getDescription());
        setAttribute(VERSION_FIELD, dto.getVersion());
    }

So its look like everything fine I am checking object DepartmentTreeNode by sysout ant its good. So what’s wrong?


In smart gwt console Resoult i heve got only info:

16:03:28.801:INFO:Log:initialized
16:03:28.848:WARN:Log:NOTE: Firebug is enabled. Firebug greatly slows the performance of applications that make heavy use of JavaScript. Isomorphic highly recommends Firebug for troubleshooting, but Firebug and other development tools should be disabled when assessing the real-world performance of SmartClient applications.
16:03:31.717:WARN:Log:New Class ID: 'DataView' collides with ID of existing object with value 'function DataView() {
    [native code]
}'.  Existing object will be replaced.
This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
16:03:32.782:INFO:Log:isc.Page is loaded

I also clean my project mvn clean install and I don’t think that is problem with nightly builds. Because if I am using smartgwt2.5 I have got this error :/

  • 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-18T09:43:46+00:00Added an answer on June 18, 2026 at 9:43 am

    Nightly build errors really belong on the SmartGWT forum. It may quite likely be a bug.

    The other thing you should make sure is that your project is clean of old generated code. To be certain, delete any old generated code in your war directory.

    And finally, use the SmartGWT console: http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/Debugging.html – it sometimes makes these cryptic errors more clear

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

Sidebar

Related Questions

I would like to check distro name, but I have got problem with bash
I have got a problem and a solution, but I am not really satisfied
I am working on a small project and i have got a problem. If
has any one using Spring MVC with Jquery! i have got a strange problem
I am working with smartgwt since three months. I have encountered a problem with
I am creating custom SWT widget but I have got problem with transparency. My
Have got a problem getting jQueryUI working / initialising a basic button inside of
I'm trying configure AzMan but I Have got problem with code. Can you explain
Hello i have got a problem, if I try to display maps with using
Hey Guys. I have got a problem on using the jquery auto-complete plugin.my problem

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.