|
create new contact list comm event
---------------------------------- Key: OFBIZ-3362 URL: https://issues.apache.org/jira/browse/OFBIZ-3362 Project: OFBiz Issue Type: Bug Components: marketing Affects Versions: Release Branch 9.04 Reporter: Heidi Dehaes Fix For: Release Branch 9.04 When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791885#action_12791885 ] Adrian Cumiskey commented on OFBIZ-3362: ---------------------------------------- Hi Heidi, I have not been able to reproduce this problem so I'm going to need a little more information from you. Firstly, I would have expected EditcontactListCommEvent to be EditContactListCommEvent but this wouldn't cause an IndexOutOfBoundException. This would misconfiguration would result in "java.lang.IllegalArgumentException: Could not find screen with name [EditcontactListCommEvent] in class resource [component://marketing/widget/ContactListScreens.xml]". Have you made any local modifications to <screen name="EditContactListCommEvent" /> section of applications/marketing/widget/ContactListScreens.xml? Are you able to provide me with a longer exception stack trace? Could you please try switching debugging on by and attach the log output that appears on your console? See http://ofbiz.apache.org/docs/coreconfig.html#debug for details of how to do this. Thanks, Adrian Cumiskey. > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791895#action_12791895 ] Heidi Dehaes commented on OFBIZ-3362: ------------------------------------- No it is definitely EditContactListCommEvent . EditcontactListCommEvent is an error from me in writing the name. This must be in component://marketing/widget/ContactListScreens.xml. I have not made any local modification in it. I will switch debug loggin on and send you more information. Regards, Heidi 2009/12/17 Adrian Cumiskey (JIRA) <[hidden email]> > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791898#action_12791898 ] Heidi Dehaes commented on OFBIZ-3362: ------------------------------------- I have already this. But now i will switch on debug=on and send you a more detailed errorlog. regards, Heidi 2009-12-17 12:11:15,051 (http-0.0.0.0-8443-2) [ ControlServlet.java:204:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: org.ofbiz.widget.screen.ScreenRenderException Message: Error rendering screen [component://marketing/widget/ContactListScreens.xml#EditContactListCommEvent]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0) ---- cause --------------------------------------------------------------------- Exception: java.lang.IndexOutOfBoundsException Message: index: 0 ---- stack trace --------------------------------------------------------------- java.lang.IndexOutOfBoundsException: index: 0 javolution.util.FastList.get(Unknown Source) sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766) org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754) org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) GetContactListMarketingEmail.run(GetContactListMarketingEmail.groovy:31) org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:117) org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408) org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:781) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:595) -------------------------------------------------------------------------------- 2009-12-17 12:11:15,051 (http-0.0.0.0-8443-2) [ ControlServlet.java:218:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2009-12-17 12:11:15,067 (http-0.0.0.0-8443-2) [ ControlServlet.java:225:ERROR] Including errorPage: /error/error.jsp 2009-12-17 12:11:15,223 (http-0.0.0.0-8443-2) [ ControlServlet.java:299:INFO ] [[[EditContactListCommEvent] Request Done- total:0.313,since last([EditContactListC...):0.313]] 2009-12-17 12:11:18,504 (http-0.0.0.0-8443-1) [ ControlServlet.java:130:INFO ] [[[FindContactListCommEvents] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2009-12-17 12:11:18,520 (http-0.0.0.0-8443-1) [ RequestHandler.java:692:INFO ] Rendering View [FindContactListCommEvents], sessionId=EAB742E09F904789115310B9946419AF.jvm1 2009/12/17 Heidi Dehaes (JIRA) <[hidden email]> > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791915#action_12791915 ] Adrian Cumiskey commented on OFBIZ-3362: ---------------------------------------- I'm still learning how OFBiz all hangs together, but the IndexOutOfBoundsException is thrown from applications/marketing/webapp/marketing/WEB-INF/actions/contact/GetContactListMarketingEmail.groovy. The primary email address coming from the owner's party of the contact list is empty (null). The groovy script should have a further check to ensure that this primary email address has a value before setting the marketing email. This bug exists in the 9.04 branch (r765447) but has been since fixed in trunk. So you have a choice of trying to applying a patch to your OFBiz installation or work from trunk (recommended if you are comfortable with building OFBiz for yourself). If you decide to apply the patch, place it the patch file in your ofbiz directory, and then type :- patch -p0 < patch.txt If you are uncomfortable with applying patch files I will also attach the fixed version of GetContactListMarketingEmail.groovy which you should be able to just copy to applications/marketing/webapp/marketing/WEB-INF/actions/contact. Best wishes, Adrian Cumiskey. > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Cumiskey updated OFBIZ-3362: ----------------------------------- Attachment: GetContactListMarketingEmail.groovy patch.txt Patch file to fix ArrayIndexOutOfBoundException on 9.04 branch and GetContactListMarketingEmail.groovy copied from trunk (r883549). > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791920#action_12791920 ] Heidi Dehaes commented on OFBIZ-3362: ------------------------------------- Thanks a lot !!!!!!!! It is the first time i see how to implement a patch . Yes, i know this groovy file. It does not so much. I will implement the patch this evening (in 7 hours from now on) thanks, Heidi 2009/12/17 Adrian Cumiskey (JIRA) <[hidden email]> > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray reassigned OFBIZ-3362: --------------------------------- Assignee: Scott Gray > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Assignee: Scott Gray > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792257#action_12792257 ] Scott Gray commented on OFBIZ-3362: ----------------------------------- Thanks Heidi and Adrian, fix committed in r892047. For the record the actual trunk bug fix occurred in r892037 which I tidied up in r892037 and then back ported. > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Assignee: Scott Gray > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray closed OFBIZ-3362. ----------------------------- Resolution: Fixed > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Assignee: Scott Gray > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792257#action_12792257 ] Scott Gray edited comment on OFBIZ-3362 at 12/18/09 12:58 AM: -------------------------------------------------------------- Thanks Heidi and Adrian, fix committed in r892047. For the record the actual trunk bug fix occurred in r772850 which I tidied up in r892037 and then back ported. EDIT: Got my revision numbers mixed up was (Author: lektran): Thanks Heidi and Adrian, fix committed in r892047. For the record the actual trunk bug fix occurred in r892037 which I tidied up in r892037 and then back ported. > create new contact list comm event > ---------------------------------- > > Key: OFBIZ-3362 > URL: https://issues.apache.org/jira/browse/OFBIZ-3362 > Project: OFBiz > Issue Type: Bug > Components: marketing > Affects Versions: Release Branch 9.04 > Reporter: Heidi Dehaes > Assignee: Scott Gray > Fix For: Release Branch 9.04 > > Attachments: GetContactListMarketingEmail.groovy, patch.txt > > > When i am in the contactlist screen and choose the communications actions tab, then i try to click on "create new contact list comm event", he gives a screen with the following error: > org.ofbiz.widget.screen.ScreenRenderException. Error rendering screen: > (component://marketing/widget/ContactListScreens#EditcontactListCommEvent: java.lang.IndexOutOfBoundsException. index. 0 (index.0)) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
