[ http://issues.apache.org/jira/browse/DAYTRADER-2?page=all ]
David Jencks closed DAYTRADER-2.
--------------------------------
Fix Version/s: 1.2
Resolution: Fixed
Fixed image problems in streamer and wsapp client. However I don't know how to
do swing programming.... these could be made to look a lot better in a few
minutes by someone who knew what they were doing.
> image file is missed in daytrader application client
> ----------------------------------------------------
>
> Key: DAYTRADER-2
> URL: http://issues.apache.org/jira/browse/DAYTRADER-2
> Project: DayTrader
> Issue Type: Bug
> Components: J2EE Application Clients
> Reporter: Maxim Berkultsev
> Assigned To: David Jencks
> Fix For: 1.2
>
>
> I've tried to run an application client for daytrader from
> geronimo-jetty-j2ee-1.0 with clientConfigId
> "geronimo/daytrader-derby-jetty-streamer-client/1.0/car".
> But it failed with:
> **********
> $ java -jar ./bin/client.jar
> geronimo/daytrader-derby-jetty-streamer-client/1.0/car
> 12:03:54,572 INFO [CommandLine] Server startup completed
> TradeStreamer getInitial Context
> 12:03:55,697 INFO [ActiveMQConnection] channel status changed: Channel:
> TcpTransportChannel:
> Socket[addr=localhost/127.0.0.1,port=61616,localport=3621] has connected
> Caught an unexpected exception!
> java.lang.NullPointerException
> at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
> at
> org.apache.geronimo.samples.daytrader.client.TradeClientGUI.<init>(TradeClientGUI.java:59)
> at
> org.apache.geronimo.samples.daytrader.client.TradeClient.startClient(TradeClient.java:81)
> at
> org.apache.geronimo.samples.daytrader.client.TradeClient.main(TradeClient.java:63)
>
> 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:324)
> at
> org.apache.geronimo.client.AppClientContainer.main(AppClientContainer.java:143)
> at
> org.apache.geronimo.client.AppClientContainer$$FastClassByCGLIB$$b5beae18.invoke
> (<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
> at
> org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLine.java:90)
> at
> org.apache.geronimo.system.main.ClientCommandLine.<init>(ClientCommandLine.java:71)
> at
> org.apache.geronimo.system.main.ClientCommandLine.main(ClientCommandLine.java:46)
> 12:03:58,322 INFO [CommandLine] Server shutdown begun
> 12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be stopped
> before die() is called:
> objectName=geronimo.client:J2EEApplication=client-application,
> J2EEServer=client,JCAResource=activemq/activemq-ra/3.2.1/rar,j2eeType=JCAConnectionFactory,name=jms/TopicConnectionFactory
>
> state=starting
> 12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be
> stopped before die() is called: objectName=
> geronimo.client:J2EEApplication=client-application,J2EEServer=client,j2eeType=ResourceAdapterModule,name=activemq/activemq-ra/3.2.1/rar
>
> state=starting
> 12:03:58,353 INFO [CommandLine] Client shutdown completed
> **********
> It looks as if an image file is missed in the client.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira