You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by Bharath Kumar N <bh...@gmail.com> on 2007/01/17 22:33:49 UTC
EXception while running Swing Consumer
Hi All,
I am trying to execute SwingConsumer and the following excetion
occurs :
/***************************************************************************/
C:\Documents and Settings\bkumar4\wsrp4j-swingconsumer>java -jar
wsrp4j-swingconsumer-jar-with-dependencies.jar
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at
org.apache.wsrp4j.consumer.swingconsumer.driver.SwingConsumer.initLayout(SwingConsumer.java:1191)
at
org.apache.wsrp4j.consumer.swingconsumer.driver.SwingConsumer.main(SwingConsumer.java:1346)
/***************************************************************************/
Appreciate any advice for fixing this issue.!!
Thanks
Bharath
--
View this message in context: http://www.nabble.com/EXception-while-running-Swing-Consumer-tf3029977.html#a8419437
Sent from the Wsrp4J - Dev mailing list archive at Nabble.com.
Re: EXception while running Swing Consumer
Posted by Diego Louzán <dl...@apache.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bharath Kumar N escribió:
> Hi All,
>
> I am trying to execute SwingConsumer and the following excetion
> occurs :
>
> /***************************************************************************/
> C:\Documents and Settings\bkumar4\wsrp4j-swingconsumer>java -jar
> wsrp4j-swingconsumer-jar-with-dependencies.jar
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.apache.wsrp4j.consumer.swingconsumer.driver.SwingConsumer.initLayout(SwingConsumer.java:1191)
> at
> org.apache.wsrp4j.consumer.swingconsumer.driver.SwingConsumer.main(SwingConsumer.java:1346)
> /***************************************************************************/
>
>
> Appreciate any advice for fixing this issue.!!
>
>
> Thanks
> Bharath
>
Are you sure you have copied the persistence directory to the working
directory? Swingconsumer needs that files which specify the remote
portlets to deploy and the layout of the graphic application.
Swingconsumer will throw that exception when no layout is found.
If that's not the problem, maybe there's any missconfiguration in a
Windows environment, I haven't tested the distribution in Windows for a
long time. Let me know and I'll try to fix it. Maybe some problem with
paths (the slash / backslash stuff).
Regards.
Diego.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFuHrGgyzZYflJelERAljZAKCjhC3PYTTMWBD+y3gudTlfdn6c3gCffzOE
4eCrz2a00xtVhMlug0Ve2hc=
=TUVP
-----END PGP SIGNATURE-----