You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Rex Madden <re...@precision-distribution.com> on 2002/09/20 01:05:10 UTC

TurbineComponentService - migrating from 2.1 to 2.2

Hi,

I'm trying to migrate from turbine 2.1 to 2.2, but I'm getting the
following error with my custom service:

Turbine: init() failed: java.lang.NullPointerException
	at
org.apache.turbine.services.component.TurbineComponentService.init(Turbi
neComponentService.java:129)
	at
org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.j
ava:108)
	at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBro
ker.java:149)
	at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceB
roker.java:224)
	at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBr
oker.java:193)
	at org.apache.turbine.Turbine.init(Turbine.java:257)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
	at
org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:179)
	at
com.fetchaflick.videotest.service.MovieServiceImplTest.setUp(MovieServic
eImplTest.java:35)
	at junit.framework.TestCase.runBare(TestCase.java:138)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.textui.TestRunner.doRun(TestRunner.java:74)
	at junit.textui.TestRunner.start(TestRunner.java:234)
	at junit.textui.TestRunner.main(TestRunner.java:112)

Anyone have any ideas about this?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: TurbineComponentService - migrating from 2.1 to 2.2

Posted by Rex Madden <re...@precision-distribution.com>.
Nevermind.  I was missing a line from my properties file.  Sorry for
bothering everyone:  

services.ComponentService.classname=org.apache.turbine.services.componen
t.TurbineComponentService

-----Original Message-----
From: Rex Madden [mailto:rex@precision-distribution.com] 
Sent: Thursday, September 19, 2002 7:05 PM
To: turbine-user@jakarta.apache.org
Subject: TurbineComponentService - migrating from 2.1 to 2.2

Hi,

I'm trying to migrate from turbine 2.1 to 2.2, but I'm getting the
following error with my custom service:

Turbine: init() failed: java.lang.NullPointerException
	at
org.apache.turbine.services.component.TurbineComponentService.init(Turbi
neComponentService.java:129)
	at
org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.j
ava:108)
	at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBro
ker.java:149)
	at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceB
roker.java:224)
	at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBr
oker.java:193)
	at org.apache.turbine.Turbine.init(Turbine.java:257)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
org.apache.turbine.util.TurbineConfig.initialize(TurbineConfig.java:193)
	at
org.apache.turbine.util.TurbineConfig.init(TurbineConfig.java:179)
	at
com.fetchaflick.videotest.service.MovieServiceImplTest.setUp(MovieServic
eImplTest.java:35)
	at junit.framework.TestCase.runBare(TestCase.java:138)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:131)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.framework.TestSuite.runTest(TestSuite.java:173)
	at junit.framework.TestSuite.run(TestSuite.java:168)
	at junit.textui.TestRunner.doRun(TestRunner.java:74)
	at junit.textui.TestRunner.start(TestRunner.java:234)
	at junit.textui.TestRunner.main(TestRunner.java:112)

Anyone have any ideas about this?


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>