rickilama54 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

SmartGWT + Google Visualization StackTrace. #405

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Just run the project.

What is the expected output? What do you see instead?
A graph is supposed to be display but nothing is showing up. Instead, you 
get a stack trace in Development mode. If you compile the project, the 
graph show up in IE and Chrome but not it FF.

What version of the product are you using? On what operating system?
Windows with the latest versions of SmartGWT, Visualization and GWT.

Please provide any additional information below.
I use the MVP pastern with the EventBus as suggest by Google for GWT apps.

I joined a Standalone test case reproducing this issue.

Original issue reported on code.google.com by jean.ber...@gmail.com on 11 Feb 2010 at 4:18

Attachments:

GoogleCodeExporter commented 8 years ago
Ok, what I did here is that I narrow everything down so I could find what is 
really 
wrong. At first I thought that it was a problem caused by the use of the 
Composite 
class (See extended class of MainView), but I stripped everything and use Basic 
GWT 
widget and everything work just fine. 

So, the best bet is that there is a problem with SmartGWT.

I joined the stripped source.

Original comment by jean.ber...@gmail.com on 15 Feb 2010 at 2:08

Attachments:

GoogleCodeExporter commented 8 years ago
I tried the piechart and scatterplot.

Nothing was rendered when SmartGWT was used. When I used
Basic GWT without SmartGWT everything was ok.

I used Firefox, Chrome and Windows XP latest GWT and SmartGWT

Imports are
com.google.gwt.visualization.client.visualizations.corechart.PieChart;
com.google.gwt.visualization.client.visualizations.corechart.PieChart.PieOptions
;
com.smartgwt.client.widgets.Canvas;

....

Canvas canvas = new Canvas();
canvas.setWidth100();
canvas.setHeight100();

canvas.addChild(pieChartWidget.getWidget());

....

Original comment by friedhel...@googlemail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
This turned out to be a conflict in extensions to native objects, and has been 
fixed.  Please confirm by testing with a nightly (smartclient.com/builds).

Original comment by smartgwt...@gmail.com on 4 Mar 2011 at 3:05

GoogleCodeExporter commented 8 years ago
Hi,

I tried running the source code provided by Jean in his original post with the 
latest nightly build for SmartGWT 2.5 (May 15, 2011), and I still get the 
AssertionError.  This has brought our application to a standstill as we have 
not been able to find a work-around for it.

Thanks,

Todd

Original comment by etblackw...@gmail.com on 17 May 2011 at 1:26

GoogleCodeExporter commented 8 years ago
Triple check that you are actually running with the latest files, by using 
Firebug's Net panel to see the first part of the file the browser is actually 
loaded (this contains the date stamp).

Once you've verified this, post all the details that are always required: 
browser(s) where the problem occurs, versions of browsers, GWT, OS, etc, hosted 
mode vs compiled.

Original comment by smartgwt...@gmail.com on 17 May 2011 at 4:04

GoogleCodeExporter commented 8 years ago
I was experiencing the same issue and was able to solve it by using the nightly 
builds as suggested.  I used the 6/2/11 build. However, I don't understand why 
building from the google code trunk at rev 1721, current as of 6/2/11, produces 
a smartgwt.jar file that exhibits the same bug.  Do the nightly builds come 
from a source tree other than the one on the google code site?

Original comment by walker.z...@gmail.com on 2 Jun 2011 at 11:22

GoogleCodeExporter commented 8 years ago
walker, SmartGWT SVN is periodically synchend with the latest SmartClient 
source and is currently a little outdated. I'll update it soon but to keep up 
with the latest changes, please use the nightly builds. 

Also note the at the point of official Smart GWT releases, SVN is fully 
up-to-date and building from the SVN release tag will produce the same jar as 
that officially release.

Original comment by sanjiv.j...@gmail.com on 2 Jun 2011 at 11:46