Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005728Openbravo ERPB. User interfacepublic2008-10-29 10:252009-03-03 07:50
gorkaion 
anthony_wolski 
lowminorsometimes
closedfixed 
20Gentoo
 
2.50pi 
No
Core
No
0005728: changes pending, rebuild now link does not work in module management
In module management window there are 2 links to build the new modules. One for with a summary of the pending changes, and another one for each module with changes.

If I click the general link I get a popup window with the pending tasks, upon pressing OK a new bad formatted window appears. And in the logs there is this error:

java.lang.ArrayIndexOutOfBoundsException: 0
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.printPageInstall2(Unknown Source)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(Unknown Source)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(Unknown Source)
    at org.openbravo.dal.core.ThreadHandler.run(Unknown Source)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)


If I click the link on the module itself I got a different popup window with a blank text area. After clicking the OK button I got an 'Internal Server Error' alert box and nothing happens. In the logs there is this error message:
java.lang.VerifyError: (class: org/apache/tools/ant/taskdefs/optional/unix/Symlink, method: loadLinks signature: (Ljava/util/Vector;)Ljava/util/Properties;) Incompatible argument to function
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at org.apache.tools.ant.AntTypeDefinition.getTypeClass(AntTypeDefinition.java:161)
    at org.apache.tools.ant.AntTypeDefinition.getExposedClass(AntTypeDefinition.java:135)
    at org.apache.tools.ant.ComponentHelper$AntTypeTable.getExposedClass(ComponentHelper.java:795)
    at org.apache.tools.ant.ComponentHelper.getDataTypeDefinitions(ComponentHelper.java:353)
    at org.apache.tools.ant.Project.getDataTypeDefinitions(Project.java:911)
    at org.apache.tools.ant.types.AbstractFileSet.getDataTypeName(AbstractFileSet.java:323)
    at org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:382)
    at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:356)
    at org.apache.tools.ant.types.Path.list(Path.java:335)
    at org.apache.tools.ant.types.Path.list(Path.java:325)
    at org.apache.tools.ant.types.Path.list(Path.java:325)
    at org.apache.tools.ant.types.Path.addExisting(Path.java:258)
    at org.apache.tools.ant.types.Path.addExisting(Path.java:247)
    at org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:555)
    at org.apache.tools.ant.AntClassLoader.setClassPath(AntClassLoader.java:344)
    at org.apache.tools.ant.Project.createClassLoader(Project.java:275)
    at org.apache.tools.ant.util.ClasspathUtils.getUniqueClassLoaderForPath(ClasspathUtils.java:217)
    at org.apache.tools.ant.util.ClasspathUtils.getClassLoaderForPath(ClasspathUtils.java:191)
    at org.apache.tools.ant.util.ClasspathUtils$Delegate.getClassLoader(ClasspathUtils.java:410)
    at org.apache.tools.ant.taskdefs.DefBase.createLoader(DefBase.java:135)
    at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:169)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
    at org.openbravo.erpCommon.utility.AntExecutor.<init>(Unknown Source)
    at org.openbravo.erpCommon.utility.AntExecutor.<init>(Unknown Source)
    at org.openbravo.erpCommon.ad_process.ApplyModules.startApply(Unknown Source)
    at org.openbravo.erpCommon.ad_process.ApplyModules.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(Unknown Source)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(Unknown Source)
    at org.openbravo.dal.core.ThreadHandler.run(Unknown Source)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)

Modularity
Issue History
2008-10-29 10:25gorkaionNew Issue
2008-10-29 10:25gorkaionAssigned To => cromero
2008-10-29 10:25gorkaionsf_bug_id0 => 2206918
2008-10-29 10:25gorkaionOBNetwork customer => No
2008-10-29 10:25gorkaionRegression testing => No
2008-10-29 10:25gorkaionTag Attached: Modularity
2008-10-29 10:25gorkaionAssigned Tocromero => alostale
2008-10-29 11:22svnbotCheckin
2008-10-29 11:22svnbotNote Added: 0009821
2008-10-29 11:22svnbotStatusnew => resolved
2008-10-29 11:22svnbotResolutionopen => fixed
2008-10-29 11:22svnbotsvn_revision => 9369
2008-10-29 11:35alostaleStatusresolved => new
2008-10-29 11:35alostaleResolutionfixed => open
2008-10-29 11:35alostaleNote Added: 0009822
2008-11-03 10:53rafarodaStatusnew => scheduled
2008-11-03 10:53rafarodaTarget Version => 2.50
2008-11-03 13:18alostaleNote Added: 0009929
2008-11-03 13:19alostalePriorityimmediate => low
2008-11-03 13:19alostaleSeveritymajor => minor
2008-11-03 13:19alostaleReproducibilityalways => sometimes
2008-11-26 11:05alostaleAssigned Toalostale => anthony_wolski
2009-01-02 17:22anthony_wolskiStatusscheduled => resolved
2009-01-02 17:22anthony_wolskiFixed in Version => trunk
2009-01-02 17:22anthony_wolskisvn_revision9369 => 11425
2009-01-02 17:22anthony_wolskiResolutionopen => fixed
2009-01-02 17:22anthony_wolskiNote Added: 0011870
2009-03-03 07:50sureshbabuStatusresolved => closed
2009-03-03 07:50sureshbabuNote Added: 0014259

Notes
(0009821)
svnbot   
2008-10-29 11:22   
Repository: openbravo
Revision: 9369
Author: alostale
Date: 2008-10-29 11:22:37 +0100 (Wed, 29 Oct 2008)

[modularity] Fixed bug 0005728: Rebuild now general link didn't work

---
U branches/modularity/src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=9369&sc=1 [^]
(0009822)
alostale   
2008-10-29 11:35   
commit 9369 solves first part of issue but not second one
(0009929)
alostale   
2008-11-03 13:18   
This is somehow related with the following line in the main build.xml file:

<taskdef resource="axis-tasks.properties" classpathref="project.class.path"/>

It has not failed in any other tested environment.
(0011870)
anthony_wolski   
2009-01-02 17:22   
The behaviour of the ApplyModules process and window changed in revision 11425. Even prior to this, I could not reproduce the second error.
(0014259)
sureshbabu   
2009-03-03 07:50   
Retested in context http://79.125.56.185/openbravotrun [^]