When I try executing the URL below...this is what I get in the tomcat
logs. In the browser it just reverts back to mainMenu.html. I guess theres
a null object in there somewhere, which I need to check out.

[SpiesAdmin] DEBUG [http-8080-Processor24]
InstallationAction.search(269) | Entering 'search' method
[SpiesAdmin] DEBUG [http-8080-Processor24]
SecurityManagerImpl.addQuerySecurity(214) | addQuerySecurity()
[SpiesAdmin] DEBUG [http-8080-Processor24]
SecurityManagerImpl.addInstallationQuerySecurity(237) |
addInstallationQuerySecurity()
[SpiesAdmin] ERROR [http-8080-Processor24]
ActionExceptionHandler.logException(145) |
java.lang.NullPointerException
       at
com.bis.spies.service.impl.SecurityManagerImpl.addInstallationQuerySecurit
y(SecurityManagerImpl.java:242)
       at
com.bis.spies.service.impl.SecurityManagerImpl.addQuerySecurity(SecurityMa
nagerImpl.java:217)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
pUtils.java:318)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
nt(ReflectiveMethodInvocation.java:203)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
ctiveMethodInvocation.java:162)
       at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:107)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
ctiveMethodInvocation.java:185)
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
roxy.java:209)
       at $Proxy21.addQuerySecurity(Unknown Source)
       at
com.bis.spies.service.impl.InstallationManagerImpl.getInstallations(Instal
lationManagerImpl.java:65)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
pUtils.java:318)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
nt(ReflectiveMethodInvocation.java:203)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
ctiveMethodInvocation.java:162)
       at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
TransactionInterceptor.java:107)
       at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
ctiveMethodInvocation.java:185)
       at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
roxy.java:209)
       at $Proxy28.getInstallations(Unknown Source)

Vanessa Pacheco
Programmer
Bowman Systems L.L.C
318.213.8780x307 
 
======================================
IMPORTANT WARNING: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is strictly prohibited. If you
have received this message in error, please notify the sender immediately
and arrange for the return or destruction of these documents. 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: Tuesday, October 30, 2007 5:03 PM
To: [email protected]
Subject: Re: [appfuse-user] Action method error

You might try executing the URL (editInstallation.html?method=Search)
in your browser and (hopefully) you'll be able to see the error
message.

Matt

On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
>
>
> Hi,
>
>
>
> Sorry to bother again. I'm running my action tests and this is what I
get
> when I try to run 'InstallationActionTest'
>
>
>
> Again, I did see this error posted by someone, but didn't quite get a
> resolution out of it.
>
>
>
> Thanks in advance for any help,
>
> ~Vanessa
>
>
>
>     [echo] Testing web...
>     [junit] Testsuite:
> com.bis.spies.webapp.action.InstallationActionTest
>     [junit] Tests run: 5, Failures: 4, Errors: 0, Time elapsed: 55.581
sec
>     [junit]
>     [junit] Testcase:
> testEdit(com.bis.spies.webapp.action.InstallationActionTest):
>  FAILED
>     [junit] was expecting
> '/WEB-INF/pages/installationForm.jsp' but
>  received '/mainMenu.html'
>     [junit] junit.framework.AssertionFailedError: was
> expecting
>  '/WEB-INF/pages/installationForm.jsp' but received
> '/mainMenu.html'
>     [junit]     at
> servletunit.struts.Common.verifyForwardPath(Common.java:345)
>     [junit]     at
>
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
>     [junit]     at
>
com.bis.spies.webapp.action.InstallationActionTest.testEdit(InstallationAc
tionTest.java:35)
>     [junit]
>     [junit]
>     [junit] Testcase:
> testSave(com.bis.spies.webapp.action.InstallationActionTest):
>  FAILED
>     [junit] was expecting
> '/editInstallation.html?method=Search' but
>  received '/mainMenu.html'
>     [junit] junit.framework.AssertionFailedError: was
> expecting
>  '/editInstallation.html?method=Search' but received
> '/mainMenu.html'
>     [junit]     at
> servletunit.struts.Common.verifyForwardPath(Common.java:345)
>     [junit]     at
>
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
>     [junit]     at
>
com.bis.spies.webapp.action.InstallationActionTest.testSave(InstallationAc
tionTest.java:55)
>     [junit]
>     [junit]
>     [junit] Testcase:
>  testSearch(com.bis.spies.webapp.action.InstallationActionTest):
>  FAILED
>     [junit] was expecting
> '/WEB-INF/pages/installationList.jsp' but
>  received '/mainMenu.html'
>     [junit] junit.framework.AssertionFailedError: was
> expecting
>  '/WEB-INF/pages/installationList.jsp' but received
> '/mainMenu.html'
>     [junit]     at
> servletunit.struts.Common.verifyForwardPath(Common.java:345)
>     [junit]     at
>
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
>     [junit]     at
>
com.bis.spies.webapp.action.InstallationActionTest.testSearch(Installation
ActionTest.java:64)
>     [junit]
>     [junit]
>     [junit] Testcase:
> testRemove(com.bis.spies.webapp.action.InstallationActionTest):
>  FAILED
>     [junit] was expecting
> '/editInstallation.html?method=Search' but
>  received '/mainMenu.html'
>     [junit] junit.framework.AssertionFailedError: was
> expecting
>  '/editInstallation.html?method=Search' but received
> '/mainMenu.html'
>     [junit]     at
> servletunit.struts.Common.verifyForwardPath(Common.java:345)
>     [junit]     at
>
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
>     [junit]     at
>
com.bis.spies.webapp.action.InstallationActionTest.testRemove(Installation
ActionTest.java:75)
>     [junit]
>     [junit]
>     [junit] Test
> com.bis.spies.webapp.action.InstallationActionTest FAILED
>
> Vanessa Pacheco
>  Programmer
>  Bowman Systems L.L.C
>  318.213.8780x307
>
>
>
> ======================================
>
> IMPORTANT WARNING: This message is intended for the use of the person or
> entity to which it is addressed and may contain information that is
> privileged and confidential, the disclosure of which is governed by
> applicable law. If the reader of this message is not the intended
recipient,
> or the employee or agent responsible to deliver it to the intended
> recipient, you are hereby notified that any dissemination, distribution
or
> copying of this information is strictly prohibited. If you have received
> this message in error, please notify the sender immediately and arrange
for
> the return or destruction of these documents.
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to