I am having this error. tried all the option to delete gwt cache, temp 
folder, etc from online. but still no luck

Please help..

[ERROR] Exception in thread "pool-1-thread-323" 
*java.lang.NullPointerException*

[ERROR]       at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]       at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]       at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
Source)

[ERROR]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]       at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]       at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]       at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]       at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]       at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]       at java.io.ObjectOutputStream.defaultWriteFields(
*ObjectOutputStream.java:1518*)

[ERROR]       at java.io.ObjectOutputStream.defaultWriteObject(
*ObjectOutputStream.java:422*)

[ERROR]       at com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
*CachedCompilationUnit.java:222*)

[ERROR]       at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
Source)

[ERROR]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]       at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]       at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]       at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]       at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]       at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]       at java.io.ObjectOutputStream.writeObject(
*ObjectOutputStream.java:330*)

[ERROR]       at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
*PersistentUnitCache.java:446*)

[ERROR]       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
*ThreadPoolExecutor.java:895*)

[ERROR]       at java.util.concurrent.ThreadPoolExecutor$Worker.run(
*ThreadPoolExecutor.java:918*)

[ERROR]       at java.lang.Thread.run(*Thread.java:662*)

[ERROR] Exception in thread "pool-1-thread-322" 
*java.lang.NullPointerException*

[ERROR]       at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]       at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]       at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
Source)

[ERROR]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]       at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]       at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]       at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]       at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]       at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]       at java.io.ObjectOutputStream.defaultWriteFields(
*ObjectOutputStream.java:1518*)

[ERROR]       at java.io.ObjectOutputStream.defaultWriteObject(
*ObjectOutputStream.java:422*)

[ERROR]       at com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(
*CachedCompilationUnit.java:222*)

[ERROR]       at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
Source)

[ERROR]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]       at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]       at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)

[ERROR]       at java.io.ObjectOutputStream.writeSerialData(
*ObjectOutputStream.java:1469*)

[ERROR]       at java.io.ObjectOutputStream.writeOrdinaryObject(
*ObjectOutputStream.java:1400*)

[ERROR]       at java.io.ObjectOutputStream.writeObject0(
*ObjectOutputStream.java:1158*)

[ERROR]       at java.io.ObjectOutputStream.writeObject(
*ObjectOutputStream.java:330*)

[ERROR]       at com.google.gwt.dev.javac.PersistentUnitCache$6.run(
*PersistentUnitCache.java:446*)

[ERROR]       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
*ThreadPoolExecutor.java:895*)

[ERROR]       at java.util.concurrent.ThreadPoolExecutor$Worker.run(
*ThreadPoolExecutor.java:918*)

[ERROR]       at java.lang.Thread.run(*Thread.java:662*)

[ERROR] Exception in thread "pool-1-thread-321" 
*java.lang.NullPointerException*

[ERROR]       at com.google.gwt.dev.util.DiskCache.transferToStream(
*DiskCache.java:187*)

[ERROR]       at com.google.gwt.dev.util.DiskCacheToken.writeObject(
*DiskCacheToken.java:91*)

[ERROR]       at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown 
Source)

[ERROR]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
*DelegatingMethodAccessorImpl.java:25*)

[ERROR]       at java.lang.reflect.Method.invoke(*Method.java:597*)

[ERROR]       at java.io.ObjectStreamClass.invokeWriteObject(
*ObjectStreamClass.java:940*)


*Is the below build tag correct from POM file. I am also using smartgwt in 
the dependency.*

 <build>

    <!-- Generate compiled stuff in the folder used for developing mode -->

    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>

    <plugins>

      <!-- GWT Maven Plugin -->

      <plugin>

        <groupId>org.codehaus.mojo</groupId>

        <artifactId>gwt-maven-plugin</artifactId>

        <version>2.5.1</version>

        <executions>

          <execution> 

            <goals>

              <goal>compile</goal>

            </goals>

          </execution>

        </executions>

        <!-- Plugin configuration. There are many available options, see 

          gwt-maven-plugin documentation at codehaus.org -->

        <configuration>

           <runTarget>index.html</runTarget>

          <hostedWebapp>${webappDirectory}</hostedWebapp>

           <extraJvmArgs>-Xms128m -Xss1M -Xmx512m</extraJvmArgs>

        </configuration>

      </plugin>


      <!-- Copy static web files before executing gwt:run -->

      <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-war-plugin</artifactId>

        <version>2.1.1</version>

        <executions>

          <execution>

            <phase>compile</phase>

          </execution>

        </executions>

        <configuration>

          <webappDirectory>${webappDirectory}</webappDirectory>

        </configuration>

      </plugin>

      <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-compiler-plugin</artifactId>

        <version>2.3.2</version>

        <configuration>

          <source>1.6</source>

          <target>1.6</target>

        </configuration>

      </plugin>

    </plugins>

  </build>





-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to