facebook

Problems… when invoking code from …: "org.eclipse.j

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #336228 Reply

    IgnatzMouse
    Member

    When trying to “Scaffold Spring CRUD Application” for GWT I get the following errors and exceptions:

    java.lang.NullPointerException
        at com.skyway.integration.google.webtoolkit.generation.GetRequestFactoryPackage.doAction(GetRequestFactoryPackage.java:38)
        at org.eclipse.jet.internal.runtime.SafeEmptyRuntimeTag$1.doRun(SafeEmptyRuntimeTag.java:49)
        at org.eclipse.jet.internal.runtime.SafeCustomRuntimeTag$TagSafeRunnable.run(SafeCustomRuntimeTag.java:78)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.core.runtime.Platform.run(Platform.java:888)
        at org.eclipse.jet.internal.runtime.SafeEmptyRuntimeTag.doStart(SafeEmptyRuntimeTag.java:43)
        at com.skyway.integration.google.webtoolkit.deploy.templates.ObjectProxyTemplate.generate(ObjectProxyTemplate.java:392)
        at org.eclipse.jet.JET2TemplateManager$TemplateRunnerImpl.generate(JET2TemplateManager.java:78)
        at org.skyway.core.generation.jet.JETArtifactGenerator$1.run(JETArtifactGenerator.java:172)
        at org.eclipse.jet.JET2TemplateManager.run(JET2TemplateManager.java:146)
        at org.skyway.core.generation.jet.JETArtifactGenerator.generate(JETArtifactGenerator.java:159)
        at org.skyway.core.generation.jet.JETArtifactGenerator.generate(JETArtifactGenerator.java:119)
        at org.skyway.core.generation.ArtifactBuilder.generateArtifact(ArtifactBuilder.java:510)
        at org.skyway.core.generation.ArtifactBuilder.buildAllArtifactsForModel(ArtifactBuilder.java:457)
        at org.skyway.core.generation.ArtifactBuilder.build(ArtifactBuilder.java:371)
        at org.skyway.core.generation.generator.Generator.generate(Generator.java:268)
        at org.skyway.core.generate.generator.invoke.InvokeDslBuilderGenerator.generate(InvokeDslBuilderGenerator.java:44)
        at org.skyway.core.generate.generator.DescendantGenerator.generateChild(DescendantGenerator.java:28)
        at org.skyway.core.generate.generator.DescendantGenerator.generateChildren(DescendantGenerator.java:21)
        at org.skyway.core.generate.generator.DescendantGenerator.generate(DescendantGenerator.java:14)
        at org.skyway.core.generate.generator.control.ResourceGenerator.generate(ResourceGenerator.java:19)
        at org.skyway.core.generate.execute.GenerationJob.generate(GenerationJob.java:115)
        at org.skyway.core.generate.execute.GenerationJob$1.run(GenerationJob.java:59)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
        at org.skyway.core.generate.execute.GenerationJob.run(GenerationJob.java:55)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    

    Here is what I’m doing:
    1. create a web project
    2. add GWT 2.5 jars to build path
    3. import WSDL
    4. Scaffold Spring CRUD Application from an Oracle DB, selecting GWT 2.1

    This happens on Debian 2.6.32-5-amd64 with MyEclipse Blue Edition 10.6 Blue, Build id 10.6-Blue-20120727

    #336250 Reply

    IgnatzMouse
    Member

    fixed it by installing the GWT plugin.
    Strange tho, that I can set the scaffolding for GWT if it isn’t installed…

    #336280 Reply

    support-swapna
    Moderator

    IgnatzMouse,

    Glad that you got it working. The GWT plugin has to be installed for it Scaffold to work.

    Let us know if you see any other issues.

    #336413 Reply

    IgnatzMouse
    Member

    I now have the next problem. I got my setup right and started with a web project and GWT scaffolding from a database. Everything is fine until it comes to running the web app.
    The MyEclipse Tomcat spews out tons of exceptions as soon as I press the “View GWT Scaffolding” button:

    08.03.2013 16:13:59 com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
    SCHWERWIEGEND: Unexpected error
    java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the gwt.client.managed.request.ApplicationRequestFactory RequestFactory type
        at com.google.web.bindery.requestfactory.vm.impl.Deobfuscator$Builder.load(Deobfuscator.java:57)
        at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeobfuscator(ResolverServiceLayer.java:43)
        at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRequestFactory(ResolverServiceLayer.java:176)
        at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveRequestFactory(ServiceLayerDecorator.java:172)
        at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveRequestFactory(ServiceLayerDecorator.java:172)
        at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveRequestFactory(ServiceLayerDecorator.java:172)
        at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.google.web.bindery.requestfactory.server.ServiceLayerCache.getOrCache(ServiceLayerCache.java:233)
        at com.google.web.bindery.requestfactory.server.ServiceLayerCache.resolveRequestFactory(ServiceLayerCache.java:198)
        at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:215)
        at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:135)
        at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
    

    any idea what is missing?

    #336493 Reply

    support-swapna
    Moderator

    IgnatzMouse,

    Take a look at this post which discusses the Scaffolding for GWT 2.4 in detail. Please follow the instructions as discussed :
    https://www.genuitec.com/forums/topic/gwt-scaffolding-for-gwt-2-4-sdk-users/

    Let us know how it works for you.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problems… when invoking code from …: "org.eclipse.j

You must be logged in to post in the forum log in