Hi Rahul - are you building GeoTools in the command line as described  
in the developers guide? It should be as simple as:
1. svn co http://svn.osgeo.org/geotools/trunk geotools
2. cd geotools
3. mvn install

I cannot see any sign of geotools in your stacktrace - are you  
building from an IDE or something?

Jody

On 18/09/2009, at 3:28 PM, rahul_3882 wrote:

>
> Hi,
>
> I am getting below error while building geo tools on my machine. I  
> am very
> new to geotools application and unable to figure out what is causing  
> the
> error. Any help is welcome.
>
>
> BaseDialog: InvocationTargetException in displayDialog
> java.lang.reflect.InvocationTargetException
>        at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
>        at
> com.trend.iwss.jscan.runtime.BaseDialog.dispatch(BaseDialog.java:123)
>
>        at
> com.trend.iwss.jscan.runtime.BaseDialog.displayDialog(BaseDialog.java
> :107)
>        at
> com.trend.iwss.jscan.runtime.AllowDialog.display(AllowDialog.java:63)
>
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.showAllowDialog(PolicyRunt
> ime.java:326)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopActionInner(PolicyRunt
> ime.java:240)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopAction(PolicyRuntime.j
> ava:172)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.doStopAction(FileIOP
> olicyRuntime.java:281)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime._preFilter(FileIOPol
> icyRuntime.java:260)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.ja
> va:132)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.preFilter(FileIOPoli
> cyRuntime.java:171)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.writeOut(ZipOutputSt
> ream.java:925)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.writeOut(ZipOutputSt
> ream.java:912)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.writeLocalFileHeader
> (ZipOutputStream.java:676)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.putNextEntry(ZipOutp
> utStream.java:451)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(Abstract
> ZipArchiver.java:677)
>        at
> org.codehaus.plexus.archiver.jar.JarArchiver.zipFile(JarArchiver.java
> :520)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(Abstract
> ZipArchiver.java:716)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(Abs
> tractZipArchiver.java:513)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMai
> n(AbstractZipArchiver.java:351)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(Ab
> stractZipArchiver.java:250)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:164)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:129)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.execute(Abstract
> SourceJarMojo.java:121)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:458)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:676)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:538)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:517)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:369)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:330)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:181)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.OutOfMemoryError: too many window handles
>        at sun.awt.windows.WToolkit.eventLoop(Native Method)
>        at sun.awt.windows.WToolkit.run(WToolkit.java:291)
>        at java.lang.Thread.run(Thread.java:619)
> -->> returning Frame NULL
> BaseDialog: owner frame is a java.awt.Frame
> BaseDialog: InvocationTargetException in displayDialog
> java.lang.reflect.InvocationTargetException
>        at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
>        at
> com.trend.iwss.jscan.runtime.BaseDialog.dispatch(BaseDialog.java:123)
>
>        at
> com.trend.iwss.jscan.runtime.BaseDialog.displayDialog(BaseDialog.java
> :107)
>        at
> com.trend.iwss.jscan.runtime.AllowDialog.display(AllowDialog.java:63)
>
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.showAllowDialog(PolicyRunt
> ime.java:326)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopActionInner(PolicyRunt
> ime.java:240)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopAction(PolicyRuntime.j
> ava:172)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.doStopAction(FileIOP
> olicyRuntime.java:281)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime._preFilter(FileIOPol
> icyRuntime.java:260)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.ja
> va:132)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.preFilter(FileIOPoli
> cyRuntime.java:171)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.writeOut(ZipOutputSt
> ream.java:925)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.deflate(ZipOutputStr
> eam.java:613)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.closeEntry(ZipOutput
> Stream.java:349)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.finish(ZipOutputStre
> am.java:316)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.close(ZipOutputStrea
> m.java:542)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMai
> n(AbstractZipArchiver.java:378)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(Ab
> stractZipArchiver.java:250)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:164)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:129)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.execute(Abstract
> SourceJarMojo.java:121)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:458)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:676)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:538)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:517)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:369)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:330)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:181)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.OutOfMemoryError: too many window handles
>        at sun.awt.windows.WToolkit.eventLoop(Native Method)
>        at sun.awt.windows.WToolkit.run(WToolkit.java:291)
>        at java.lang.Thread.run(Thread.java:619)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The Applet is not allowed to perform a write operation on  
> file write
> by I
> WSS Javascan site policy.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.SecurityException: The Applet is not allowed to perform a  
> write
> operat
> ion on file write by IWSS Javascan site policy.
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.makeSecurityException(Poli
> cyRuntime.java:341)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopActionInner(PolicyRunt
> ime.java:270)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.stopAction(PolicyRuntime.j
> ava:172)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.doStopAction(FileIOP
> olicyRuntime.java:281)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime._preFilter(FileIOPol
> icyRuntime.java:260)
>        at
> com.trend.iwss.jscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.ja
> va:132)
>        at
> com.trend.iwss.jscan.runtime.FileIOPolicyRuntime.preFilter(FileIOPoli
> cyRuntime.java:171)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.writeOut(ZipOutputSt
> ream.java:925)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.deflate(ZipOutputStr
> eam.java:613)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.closeEntry(ZipOutput
> Stream.java:349)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.finish(ZipOutputStre
> am.java:316)
>        at
> org.codehaus.plexus.archiver.zip.ZipOutputStream.close(ZipOutputStrea
> m.java:542)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMai
> n(AbstractZipArchiver.java:378)
>        at
> org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(Ab
> stractZipArchiver.java:250)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:164)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.packageSources(A
> bstractSourceJarMojo.java:129)
>        at
> org.apache.maven.plugin.source.AbstractSourceJarMojo.execute(Abstract
> SourceJarMojo.java:121)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:458)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:676)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:538)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:517)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:369)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:330)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:181)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 82 minutes 42 seconds
> [INFO] Finished at: Thu Sep 17 13:06:46 IST 2009
> [INFO] Final Memory: 53M/63M
> [INFO]
> ------------------------------------------------------------------------
> -- 
> View this message in context: 
> http://n2.nabble.com/Error-BaseDialog-InvocationTargetException-in-displayDialog-while-building-the-Geotools-tp3667782p3667782.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9-12, 2009. Register  
> now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to