Eclipse crashes with GWT designer and other queries

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Eclipse crashes with GWT designer and other queries

Postby gurmeet » Fri Apr 01, 2011 11:35 am

Hi,

I am new to GWT and want to use GWT to build my website. I am trying to create few UI pages in GWT. I am using UIbinder to create pages which I think is the only choice to build UI pages (presentation part). Is there anything else?

My queries are as below

1. Eclipses is consistantly crashing a lot when I try to play with ui.xml by deleting the widgets or panels. am I missing anything?
2. When I try to drag flextable over vertical panel and then some widgets, all widgets are stick to top left. i cant resize them. I cant move them. Why is it so?
3. How to debug GWT with TomCat as Google App Engine looks very slow.

Cheers
Gurmeet
gurmeet
 
Posts: 3
Joined: Fri Apr 01, 2011 11:23 am

Re: Eclipse crashes with GWT designer and other queries

Postby gurmeet » Fri Apr 01, 2011 11:39 am

I am using it on Windows 7.
gurmeet
 
Posts: 3
Joined: Fri Apr 01, 2011 11:23 am

Re: Eclipse crashes with GWT designer and other queries

Postby Eric Clayberg » Fri Apr 01, 2011 11:46 am

gurmeet wrote:1. Eclipses is consistantly crashing a lot when I try to play with ui.xml by deleting the widgets or panels. am I missing anything?

Yes...a test case and associated log files. We can't help without those.

gurmeet wrote:2. When I try to drag flextable over vertical panel and then some widgets, all widgets are stick to top left. i cant resize them. I cant move them. Why is it so?

No idea. Again, we need to see a test case to see what you are actually doing.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Eclipse crashes with GWT designer and other queries

Postby gurmeet » Fri Apr 01, 2011 2:38 pm

Another problem:


WindowBuilder internal error

WindowBuilder encountered unexpected internal error. Please contact support.

Show stack trace.
Hide stack trace.

Stack trace:
java.lang.NullPointerException
at com.google.gdt.eclipse.designer.hosted.classloader.GWTSharedClassLoader.findResource(GWTSharedClassLoader.java:237)
at java.lang.ClassLoader.getResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.isPackage(JdtCompiler.java:297)
at com.google.gwt.dev.javac.JdtCompiler$INameEnvironmentImpl.isPackage(JdtCompiler.java:277)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.isPackage(LookupEnvironment.java:1325)
at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.findPackage(PackageBinding.java:77)
at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getPackage(PackageBinding.java:98)
at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:119)
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:147)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:701)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:376)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:617)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:193)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:390)

and this is the ui.xml file
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:style>

</ui:style>
<g:HTMLPanel/>

</ui:UiBinder>

When i click on design it show above error....I hope this may help you..
gurmeet
 
Posts: 3
Joined: Fri Apr 01, 2011 11:23 am

Re: Eclipse crashes with GWT designer and other queries

Postby Eric Clayberg » Sun Apr 03, 2011 12:52 pm

We were not able to reproduce any problems.

If you encounter an exception, click the Contact Support button to submit the complete test case. Include a complete test case project with the submission.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron