Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 12767 invoked from network); 31 Aug 2007 20:59:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 20:59:43 -0000 Received: (qmail 28796 invoked by uid 500); 31 Aug 2007 20:59:37 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 28699 invoked by uid 500); 31 Aug 2007 20:59:36 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 28690 invoked by uid 99); 31 Aug 2007 20:59:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 13:59:36 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 21:00:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 908D6714208 for ; Fri, 31 Aug 2007 13:59:18 -0700 (PDT) Message-ID: <11171375.1188593958565.JavaMail.jira@brutus> Date: Fri, 31 Aug 2007 13:59:18 -0700 (PDT) From: "Dennis Cook (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (SCXML-56) onentry and onexit child elements of parallel do not have parent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org onentry and onexit child elements of parallel do not have parent ---------------------------------------------------------------- Key: SCXML-56 URL: https://issues.apache.org/jira/browse/SCXML-56 Project: Commons SCXML Issue Type: Bug Affects Versions: 0.6 Environment: Windows and linux Reporter: Dennis Cook Expanded the provide test case transitions-01.xml to include as childern of the element : Running the test case will now result in NPE when attempting the log action. java.lang.NullPointerException at org.apache.commons.scxml.model.Action.getParentState(Action.java:115) at org.apache.commons.scxml.model.Log.execute(Log.java:102) at org.apache.commons.scxml.semantics.SCXMLSemanticsImpl.executeActions(SCXMLSemanticsImpl.java:229) at org.apache.commons.scxml.SCXMLExecutor.triggerEvents(SCXMLExecutor.java:131) at org.apache.commons.scxml.SCXMLTestHelper.fireEvent(SCXMLTestHelper.java:197) at controller.Transitions01Test.testSCXMLExecutorTransitions01Sample(Transitions01Test.java:58) 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 junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) because the parent of on OnEntry and OnExit objects is null. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.