I'm having troubles with gwt when i run jrebel.
When i try to load my gwt module, i get this on the "Development Mode"
tab in eclipse:
12:44:16.911 [ERROR] [myProject] Unable to initialize static
dispatcher
java.lang.NullPointerException: null
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:
1011)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
115)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:
284)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
322)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Thread.java:637)
If i take out of my Run Configuration this argument:
-javaagent:/Users/me/Downloads/jrebel/jrebel.jar -noverify
The gwt module works fine in development mode, but obviusly, i don't
have anymore running jrebel.
Am i losing something? Is that jrebel is not compatible with gwt in
development mode?
On 29 sep, 23:47, nacho <[email protected]> wrote:
> :) A few minutes later than i make this question i found that post
> that you said. Thanks!
>
> For the mac users, that post is for Windows users.
>
> The only thing that changes in mac case is the step number 5, you must
> modify the file dev_appserver.sh and let it like this:
>
> java -ea -cp "$JAR_FILE" \
> com.google.appengine.tools.KickStart
> --jvm_flag=-javaagent:$REBEL_HOME/jrebel.jar --jvm_flag=-noverify \
> com.google.appengine.tools.development.DevAppServerMain $*
>
> On 29 sep, 21:44, "Ikai Lan (Google)" <[email protected]>
> wrote:
>
> > That's funny, I JUST posted this to the App Engine Reddit:
>
> >http://www.reddit.com/r/AppEngine/comments/dkpue/appengine_jrebel_and...
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blogger:http://googleappengine.blogspot.com
> > Reddit:http://www.reddit.com/r/appengine
> > Twitter:http://twitter.com/app_engine
>
> > On Wed, Sep 29, 2010 at 3:56 PM, nacho <[email protected]> wrote:
> > > Anyone knows how to use jrebel with appengine in eclipse + mac to hot
> > > deploy?
>
> > > I've been following the steps on the jrebel documentation but i can't
> > > get it running.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine%[email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.