[jboss-user] [JBoss Tools (users)] - 3.0.0 alpha, and seam tutorial problem

jjfraney do-not-reply at jboss.com
Mon Sep 29 14:34:58 EDT 2008


I don't know the root of the problem, may not be jboss tool, but its a place to start.

I run the tutorial at http://docs.jboss.com/seam/latest/reference/en-US/html/gettingstartedwithjbosstools.html.

I finish the 'add action' section.  There are two failures at this point.  I'm not sure what these mean.  I'm not expecting these kinds of errors in a tutorial.  The tutorial hasn't given enough information, I think, to figgure out how to proceed.  


1) clicking the 'ping!' button in the web view causes a null pointer exception (like the injection of log and facesMessages did not happen).  Seam gives me the error page.

Here is the relevant part of stack trace (I left off ejb transaction rollback stack traces, but if you want to see them, I'll post 'em)

org.domain.seamhello.session.PingBean.ping(PingBean.java:21)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | 

2) The testng unit test fails for the ping method.  A little red x appears next to the test named: 'org.domain.seamhello.test.PingTest.init' and the following shows up in the 'Failure Exception' window:
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | SARDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | ServiceDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | ServiceClassLoaderDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | BeanDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | ServiceDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | BeanMetaDataDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | KernelDeploymentDeployer -> java.lang.ClassNotFoundException: [Ljava.lang.Class;
  | 
  | 
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559)
  | 	at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:149)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183)
  | 	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195)
  | 	at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  | 	at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)
  | 	at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)
  | 	at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
  | 	at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | 	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:597)
  | 	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
  | 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
  | 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
  | 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
  | 	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
  | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
  | 	at org.testng.TestRunner.runWorkers(TestRunner.java:712)
  | 	at org.testng.TestRunner.privateRun(TestRunner.java:582)
  | 	at org.testng.TestRunner.run(TestRunner.java:477)
  | 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
  | 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
  | 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
  | 	at org.testng.SuiteRunner.run(SuiteRunner.java:198)
  | 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
  | 	at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
  | 	at org.testng.TestNG.run(TestNG.java:708)
  | 	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
  | 	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179432#4179432

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179432



More information about the jboss-user mailing list