Saturday, March 12, 2016

Can somebody explain what happened here?

Okay, can somebody please explain to me what just happened...


I tore down everything I wrote today, checked out different versions of my project, cleaned it multiple times, restarted the code server, tomcat and even Eclipse and after everything even my machine.. 

I started to get this error: http://pastebin.com/J69T553R

But it did not break everything at once. Just slowly step by step I could not navigate and more and more pages led to this exception. After going crazy I decided to create a new simple HomeView/Presenter/etc to try and test what the heck was wrong. Unfortunately this did not work and after this little test anything else went down the same and stopped working. 

I have no idea why I thought about this but after hours of ripping hair off my head I did this:


<!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>
   asd
</g:HTMLPanel>
</ui:UiBinder> 

to

<!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 gss="true">
</ui:style>
<g:HTMLPanel>
   asd
</g:HTMLPanel>
</ui:UiBinder>  

 and everything was back to normal. Usually I would not care but this just made me almost throw stuff against my monitors thus I'd really like to know what just happened ... I am not even sure if that did the trick but right after adding gss="true" it started working again. I can even remove it now and it's still working.. 

Thanks for any clarification!

BR; Stefan

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment