jboadas / gwt-examples Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gwt-examples
Automatically exported from code.google.com/p/gwt-examples
What steps will reproduce the problem?
1. use gwt-hosted-mode
2. try to sha1 a string like: "abcdefgh"
What is the expected output? What do you see instead?
[ERROR] Uncaught exception escaped
java.lang.ArrayIndexOutOfBoundsException: 2
at de.fraunhofer.fokus.inv.client.sha1.core_sha1(sha1.java:112)
at de.fraunhofer.fokus.inv.client.sha1.hex_sha1(sha1.java:56)
at de.fraunhofer.fokus.inv.client.Inventory$11.onClick(Inventory.java:425)
at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick(ClickListenerCol
lection.java:34)
at
com.google.gwt.user.client.ui.FocusWidget.onBrowserEvent(FocusWidget.java:102)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308)
at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1287)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5273)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1135)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
[ERROR] Uncaught exception escaped
java.lang.ArrayIndexOutOfBoundsException: 2
at de.fraunhofer.fokus.inv.client.sha1.core_sha1(sha1.java:112)
at de.fraunhofer.fokus.inv.client.sha1.hex_sha1(sha1.java:56)
at de.fraunhofer.fokus.inv.client.Inventory$11.onClick(Inventory.java:425)
at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick(ClickListenerCol
lection.java:34)
at
com.google.gwt.user.client.ui.FocusWidget.onBrowserEvent(FocusWidget.java:102)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308)
at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:1287)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5273)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1135)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)at
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
What version of the product are you using? On what operating system?
Seems to run fine on jetty/firefox3.0 ...
Original issue reported on code.google.com by [email protected]
on 1 Apr 2009 at 6:03
What steps will reproduce the problem?
1. mysql driver is loading(com.mysql.jdbc.Driver) but facing problem when it
try to get connection.
What is the expected output? What do you see instead?
Expected output is accessing the table details from database..
but getting this error
19 Mar, 2013 5:48:54 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming
RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
com.opera.pentaho.userconsole.client.PasswordUpdate.greetServer(java.lang.String
,java.lang.String,java.lang.String) throws java.lang.IllegalArgumentException'
threw an unexpected exception: java.lang.NoClassDefFoundError: Could not
initialize class com.mysql.jdbc.ConnectionImpl
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:61)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:97)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:94)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:409)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
com.mysql.jdbc.ConnectionImpl
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at com.opera.pentaho.userconsole.server.DBConnection.compareUpdatepasswd(DBConnection.java:16)
at com.opera.pentaho.userconsole.server.PasswordUpdateImpl.greetServer(PasswordUpdateImpl.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:115)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
... 38 more
What version of the product are you using? On what operating system?
OS is ubuntu
version - latest
Original issue reported on code.google.com by [email protected]
on 19 Mar 2013 at 12:25
Corrected spelling in the comment.
Original issue reported on code.google.com by [email protected]
on 15 Feb 2011 at 3:46
Attachments:
[deleted issue]
What steps will reproduce the problem?
1. Initialize the ListEditor example with 3 or more items in the list.
2. Remove the first item in the list.
3. Remove the last item in the list.
What is the expected output? What do you see instead?
I expect to remove the last item in the list, but I get an array out of bound
exception.
Please provide any additional information below.
The index to be remove is set during the initialization of the listeditor item
editor and set to "final int index". Upon dispose and when setIndex is called,
the index int is never updated on the remove callback. I solved the issues by
adding a index field on the listeditor EmailsItemEditor to keep track of where
it is in the list.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2013 at 8:46
Make This builder independent of everything.
Setup tomcat xml file for quick deploy for individual projects if desired.
Auto deploy to Tomcat Server, via Tomcat manager
Original issue reported on code.google.com by [email protected]
on 11 May 2008 at 3:47
The created web.xml file always has one servlet definition , which is the
first one that defined in gwt.xml file. TomcatWarBuilder class does not
looks how many servlets are there. I think it should support every of them.
Great code by the way
Sorry for the bad En.
Original issue reported on code.google.com by [email protected]
on 12 Feb 2009 at 2:53
I have developed my application in GWT using eclipse. I have tested in
hosted mode.Evertthing works fine. Now I need to deploy into tomcat server
on my machine. So using eclipse, I have compiled the whole project
successfully.WAR directory got generated. I have zipped this war file and
renamed with extension .war and placed this in webapps directory of tomcat
server.
When I use localhost:8080 URL,firstpage opens successfully.(tomcat is able
to unzip this).However none of RPC calls work. I am stuck with this
problem from past 1 week. I tried all possible ways posted on web but
nothing seems to work.
I tried to compile the starter application shipped with GWT and placed on
tomcat. Even this is not working with RPC calls.
I am not sure what settings I need to do on my tomcat. ๏
Can you please give me the steps to deploy starter application shipped
with GWT on tomcat? So later I can map the same to my application.
Can anyone help please?
Original issue reported on code.google.com by [email protected]
on 21 Jul 2009 at 2:52
Deploy a login demo upgrade
I have the code, need to rip it out of my current project and make its own
project.
Original issue reported on code.google.com by [email protected]
on 11 May 2008 at 3:37
Wouldn't it be better to init the CF this way?
Original issue reported on code.google.com by [email protected]
on 15 Mar 2012 at 8:44
Attachments:
What steps will reproduce the problem?
1. If you do not have a .*compile file the for loop will go out of bounds
in TomcatWarBuilder.java line 1023:
for (int i = 0; i <= list.length; i++) {
change to i<list.length
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Mac OSX 10.5.6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2009 at 2:00
When renaming a project, you must rename several items. Fix that, plus run
diagnostics on classpath.
When importing a project, run this script on your puter to setup project to
your parameters.
This would save me time!
Original issue reported on code.google.com by [email protected]
on 11 May 2008 at 3:42
Making the web.xml config valid according to its XSD. Also the comment can be
omitted when using this tag.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2012 at 12:50
Attachments:
I have to host a JSP page in GWT Web Application.
I tried to put it in war folder and changed web.xml etc
When ever i run the application,
and clicked the url, I get 404 error, not found.
Original issue reported on code.google.com by [email protected]
on 3 Oct 2011 at 10:52
Add Directory Switching \\ //
Make it work in windows.
Original issue reported on code.google.com by [email protected]
on 11 May 2008 at 3:36
What steps will reproduce the problem?
1. In the Text Area Auto Expand Widget just type in few lines and then start a
new paragraph by pressing enter.
What is the expected output? What do you see instead?
Text Area Auto Expand doesn't expands or takes into account the start of a new
line by pressing Enter.
What version of the product are you using? On what operating system?
GAE 1.4.3, GWT 2.30. Windows Vista
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Jun 2011 at 12:17
Wouldn't it be better to put
private ClientFactory clientFactory = GWT.create(ClientFactory.class);
into
public void onModuleLoad() {
// rootpanel in clientfactory
GWT.create(ClientFactory.class);
}
?
Original issue reported on code.google.com by [email protected]
on 15 Mar 2012 at 8:42
On the page:
http://code.google.com/p/gwt-examples/wiki/project_MySQLConn
http://gawkat.com/Feedback/ and http://gawkat.com/MySQLConn/
the links to gawkat.com are not working, can i find this info some where
else?
tnx
Original issue reported on code.google.com by [email protected]
on 10 Mar 2010 at 7:56
Hi my name is buyandalai. I from mongolia. This example need lot. Thank for
very much.!!!!!!!
Original issue reported on code.google.com by [email protected]
on 27 Jul 2011 at 7:30
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.