Hie so i see below exceptions. Please reply how can i make sure to avoid this issue. I tried deleting all the libs from WEB-INF/lib folder and when i restart eclipse i get to see all appearing again automatically and the below exception in the log.
java.lang.RuntimeException: Unexpected exception at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:59) at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:57) ... 2 more Caused by: org.datanucleus.exceptions.NucleusException: Plugin (Bundle) "org.datanucleus.store.appengine" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/D:/Personal/softwares/sakshum_softwares/Google_Apps/eclipse/plugins/com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.0.v200912141120/appengine-java-sdk-1.3.0/lib/user/orm/datanucleus-appengine-1.0.4.1.final.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/D:/eclipse/vskumar/workspace/Sakshumweb2.0/war/WEB-INF/lib/datanucleus-appengine-1.0.4.1.final.jar." at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:434) at org.datanucleus.plugin.NonManagedPluginRegistry.registerBundle(NonManagedPluginRegistry.java:340) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensions(NonManagedPluginRegistry.java:222) at org.datanucleus.plugin.NonManagedPluginRegistry.registerExtensionPoints(NonManagedPluginRegistry.java:153) at org.datanucleus.plugin.PluginManager.registerExtensionPoints(PluginManager.java:82) at org.datanucleus.OMFContext.<init>(OMFContext.java:160) at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java:172) at org.datanucleus.enhancer.DataNucleusEnhancer.<init>(DataNucleusEnhancer.java:150) at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1157) ... 7 more Thankx... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Dec 27, 2009 at 1:00 PM, Lior Harsat <[email protected]> wrote: > Hi, > > This happens from time to time on the google app engine eclipse > plugin. so If you are using eclipse,clean and build your project. open > the enhancer console ( in eclipse) and verify that it ran correctly. > > Thanx, Lior > > On Dec 25, 11:33 am, Vik <[email protected]> wrote: > > Hie > > > > While trying to do executeQuery i get the follow exception: > > > > SEVERE: Exception is :Persistent class "Class > > vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to have > been > > enhanced. You may want to rerun the enhancer and check for errors in the > > output." has no table in the database, but the operation requires it. > Please > > check the specification of the MetaData for this class. > > javax.jdo.JDOUserException: Persistent class "Class > > vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to have > been > > enhanced. You may want to rerun the enhancer and check for errors in the > > output." has no table in the database, but the operation requires it. > Please > > check the specification of the MetaData for this class. > > at > > > org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc > leusJDOHelper.java:375) > > at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:230) > > at > > > vik.sakshum.sakshumweb.server.model.DoSubscribe.execute(DoSubscribe.java:35 > ) > > at > > > vik.sakshum.sakshumweb.server.SubscribeModule$1$2.buttonClick(SubscribeModu > le.java:119) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > 9) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > l.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > > > com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime > .java:100) > > at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:487) > > at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) > > at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1105) > > at com.vaadin.ui.Button.fireClick(Button.java:341) > > at com.vaadin.ui.Button.changeVariables(Button.java:177) > > at > > > com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables > (AbstractCommunicationManager.java:1058) > > at > > > com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlReq > uest(AbstractCommunicationManager.java:559) > > at > > > com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(Commu > nicationManager.java:260) > > at > > > com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractA > pplicationServlet.java:438) > > at > > > com.vaadin.terminal.gwt.server.GAEApplicationServlet.service(GAEApplication > Servlet.java:231) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1093) > > at > > > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi > lter.java:51) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans > actionCleanupFilter.java:43) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > > > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile > Filter.java:121) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > > at > > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn > gineWebAppContext.java:70) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at > > > com.google.appengine.tools.development.JettyContainerService$ApiProxyHandle > r.handle(JettyContainerService.java:352) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:313) > > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java > :844) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396 > ) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java: > 442) > > NestedThrowablesStackTrace: > > Persistent class "Class vik.sakshum.sakshumweb.server.model.jdo.Subscribe > > does not seem to have been enhanced. You may want to rerun the enhancer > and > > check for errors in the output." has no table in the database, but the > > operation requires it. Please check the specification of the MetaData for > > this class. > > org.datanucleus.store.exceptions.NoTableManagedException: Persistent > class > > "Class vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to > > have been enhanced. You may want to rerun the enhancer and check for > errors > > in the output." has no table in the database, but the operation requires > it. > > Please check the specification of the MetaData for this class. > > at > > > org.datanucleus.store.appengine.DatastoreManager.getDatastoreClass(Datastor > eManager.java:644) > > at > > > org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(Datasto > reQuery.java:212) > > at > > > org.datanucleus.store.appengine.query.JDOQLQuery.performExecute(JDOQLQuery. > java:85) > > at org.datanucleus.store.query.Query.executeQuery(Query.java:1489) > > at org.datanucleus.store.query.Query.executeWithArray(Query.java:1371) > > at org.datanucleus.store.query.Query.execute(Query.java:1344) > > at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:221) > > at > > > vik.sakshum.sakshumweb.server.model.DoSubscribe.execute(DoSubscribe.java:35 > ) > > at > > > vik.sakshum.sakshumweb.server.SubscribeModule$1$2.buttonClick(SubscribeModu > le.java:119) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 > 9) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > l.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > > > com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime > .java:100) > > at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:487) > > at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) > > at > com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1105) > > at com.vaadin.ui.Button.fireClick(Button.java:341) > > at com.vaadin.ui.Button.changeVariables(Button.java:177) > > at > > > com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables > (AbstractCommunicationManager.java:1058) > > at > > > com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlReq > uest(AbstractCommunicationManager.java:559) > > at > > > com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(Commu > nicationManager.java:260) > > at > > > com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractA > pplicationServlet.java:438) > > at > > > com.vaadin.terminal.gwt.server.GAEApplicationServlet.service(GAEApplication > Servlet.java:231) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1093) > > at > > > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi > lter.java:51) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans > actionCleanupFilter.java:43) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > > > com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile > Filter.java:121) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle > r.java:1084) > > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > > at > > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn > gineWebAppContext.java:70) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at > > > com.google.appengine.tools.development.JettyContainerService$ApiProxyHandle > r.handle(JettyContainerService.java:352) > > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:313) > > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java > :844) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396 > ) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java: > 442) > > Dec 25, 2009 9:29:25 AM vik.sakshum.sakshumweb.server.model.DoSubscribe > > execute > > INFO: end of doSubscribe ended at::1261733365765 > > Dec 25, 2009 9:29:29 AM > > > com.google.appengine.api.datastore.dev.LocalDatastoreService$PersistDatasto > re > > persist > > INFO: Time to persist datastore: 47 ms > > > > Thankx and Regards > > > > Vik > > Founderwww.sakshum.comwww.sakshum.blogspot.com > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
