|
#1
|
|||
|
|||
|
Hi,
I'm using smartgwtee-1.1. After compiling project with eclipse plugin, I'm getting the following exception, but builtinTypes.xml actually exists. Any suggestions??? Thanks in advance === 2009-06-29 20:02:00,180 [main] ERROR ISCFile - Configured for containerIO, but servletContext not available! Problem loading builtinTypes.xml Exception when loading from __USE_CONTAINER__/rcr/sc/system/schema/builtinTypes.xml: java.lang.NullPointerException at com.isomorphic.io.ISCFile.<init>(ISCFile.java:145) at com.isomorphic.store.ProcessedFileCache.getObjectF romFile(ProcessedFileCache.java:126) at com.isomorphic.xml.XML.getXMLDocument(XML.java:207 ) at com.isomorphic.xml.XML.toDSRecords(XML.java:215) at com.isomorphic.xml.XML.toDSRecords(XML.java:218) at com.isomorphic.datasource.BasicDataSource.<clinit> (BasicDataSource.java:1386) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Construc tor.java:513) at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtils.java:127) at org.springframework.beans.factory.support.SimpleIn stantiationStrategy.instantiate(SimpleInstantiatio nStrategy.java:61) at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.instantiateBean(Abstrac tAutowireCapableBeanFactory.java:880) at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBeanInstance(Abst ractAutowireCapableBeanFactory.java:843) at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:443) at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:412) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:383) at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 76) at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222) at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:273 ) at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:175) at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:485) at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:716) at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:377) at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:254) at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:198) at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 47) at org.mortbay.jetty.handler.ContextHandler.startCont ext(ContextHandler.java:530) at org.mortbay.jetty.servlet.Context.startContext(Con text.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117) at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:217) at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:40) at com.google.appengine.tools.development.JettyContai nerService.startContainer(JettyContainerService.ja va:147) at com.google.appengine.tools.development.AbstractCon tainerService.startup(AbstractContainerService.jav a:116) at com.google.appengine.tools.development.DevAppServe rImpl.start(DevAppServerImpl.java:211) at com.google.appengine.tools.development.gwt.AppEngi neLauncher.start(AppEngineLauncher.java:86) at com.google.gwt.dev.HostedMode.doStartUpServer(Host edMode.java:365) at com.google.gwt.dev.HostedModeBase.startUp(HostedMo deBase.java:590) at com.google.gwt.dev.HostedModeBase.run(HostedModeBa se.java:397) at com.google.gwt.dev.HostedMode.main(HostedMode.java :232) === 2009-06-29 20:02:00,340 [main] DEBUG ISCInit - Verifying webroot: C:\dev\projects\RCR\war === 2009-06-29 20:02:00,340 [main] INFO ISCInit - Auto-detected webRoot - using: C:\dev\projects\RCR\war |
|
#2
|
|||
|
|||
|
Did you include the Init servlet in your web.xml?
|
|
#3
|
|||
|
|||
|
yes, Init servlet is loaded on startup
|
|
#4
|
|||
|
|||
|
Were you able to successfully run any of the provided samples using the provided ant build files? If so, then did you try running the sample using the Eclipse plugin? Just want to make sure that you followed the steps required to get familiar with the setup and haven't overlooked any configuration. If you did carry out these steps then its hard to tell what you have incorrect in your configuration without additional details.
Note that SmartGWT EE v1.2 which is soon to be released includes Eclipse project files for the samples along with instructions on how to run using the Google Eclipse Plugin (GEP). |