[ https://issues.apache.org/jira/browse/TUSCANY-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkatakrishnan reassigned TUSCANY-1043: ---------------------------------------- Assignee: Venkatakrishnan > NPE with Pass By Value Interceptor during multiple callbacks > ------------------------------------------------------------ > > Key: TUSCANY-1043 > URL: https://issues.apache.org/jira/browse/TUSCANY-1043 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core, Java SCA Integration Tests > Reporter: Lou Amodeo > Assigned To: Venkatakrishnan > > r494421 - NullPointerException is thrown by PassByValueInterceptor when > processing the 2 nd of 3 callbacks. A multiple callbacks issue was fixed > in JIRA-976 and this integration testcase was functioning. This issue that > is now occurring appears to be completely different than -976. Please see > the testcase attached to -976 to reproduce. > .apache.org/repo/m2-incubating-repository/) > Downloading: > http://ws.zones.apache.org/repository/woodstox/poms/wstx-asl-3.0.1. > pom > [WARNING] Unable to get resource from repository apache.ws.m1.snapshots > (http:// > ws.zones.apache.org/repository) > Downloading: > http://repo1.maven.org/maven2/woodstox/wstx-asl/3.0.1/wstx-asl-3.0. > 1.pom > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org > /maven2) > [INFO] [tuscany-itest:start {execution: start}] > [INFO] Starting Tuscany... > [INFO] [tuscany-itest:test {execution: test}] > [INFO] Executing tests... > CallBackBasicServiceImpl message received: Knock Knock > Entering callback callBackMessage: Who's There > CallBackBasicServiceImpl message received: No Reply Desired > CallBackBasicServiceImpl No response desired > java.lang.NullPointerException > at > org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy( > PassByValueInterceptor.java:110) > at > org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invok > e(PassByValueInterceptor.java:71) > at > org.apache.tuscany.core.wire.NonBlockingBridgingInterceptor$1.run(Non > BlockingBridgingInterceptor.java:79) > at > org.apache.tuscany.core.services.work.jsr237.Jsr237WorkScheduler$Jsr2 > 37Work.run(Jsr237WorkScheduler.java:212) > at > org.apache.tuscany.core.services.work.jsr237.workmanager.ThreadPoolWo > rkManager$DecoratingWork.run(ThreadPoolWorkManager.java:206) > CallBackBasicServiceImpl message received: Call me back 3 times > Entering callback increment: Who's There 1 > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec > utor.java:665) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor > .java:690) > at java.lang.Thread.run(Thread.java:797) > [INFO] Test results: {skipped=0, completedCount=1, failures=1, errors=0} > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There were test failures > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: There were test failures > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:555) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:475) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:64) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoFailureException: There were test > failure > s > at > org.apache.tuscany.sca.plugin.itest.TuscanyITestMojo.execute(TuscanyI > TestMojo.java:80) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:534) > ... 16 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 37 seconds > [INFO] Finished at: Wed Jan 10 09:43:18 EST 2007 > [INFO] Final Memory: 10M/23M > [INFO] > ------------------------------------------------------------------------ > C:\Tuscany\LousTestCases\testing\sca\itest\test-CallBackBasic> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]