Bug o error de configuracion(resource Assign)

2005-08-17
2013-05-02
  • Fabian Aguilar
    Fabian Aguilar
    2005-08-17

    Tengo 3 recursos creados para vender, los cuales han tenido bastante movimieno y asignaciones en las sales order desde el campo de "resource assignament"
    el tema es que de un momento a otro al intentar asignar el recurso 1, la ventana de calendarizacion (asignacion) se cuelga.  sin embargo con el recurso 2 y 3 funciona correctamente, este es el trace

    16:30:45.046   InfoSchedule.displayCalendar: Index=0, ID=1000000 - 2005-08-17 00:00:00.0 [11]
    16:30:45.046   VSchedule.recreate: (5) Resource_ID=1000000: 2005-08-17 00:00:00.0->2005-08-18 00:00:00.0 [11]
    16:30:45.046   MSchedule.getAssignmentSlots: 2005-08-17 00:00:00.0 [11]
    16:30:45.046     AccessSqlParser.parse: AccessSqlParser[S_Resource=r,S_ResourceType=rt|0] [11]
    16:30:45.062     MSchedule.getAssignmentSlots: - EndDate=2005-08-18 00:00:00.0 [11]
    16:30:45.062     AccessSqlParser.parse: AccessSqlParser[C_NonBusinessDay|0] [11]
    16:30:45.156     AccessSqlParser.parse: AccessSqlParser[C_UOM|0] [11]
    16:30:45.296     AccessSqlParser.parse: AccessSqlParser[C_UOM_Conversion|0] [11]
    16:30:45.296   MSchedule.createTimeSlots: Minutes=60 [11]
    ===========> InfoSchedule.<init>: InfoSchedule [11]
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
        at java.util.ArrayList.RangeCheck(ArrayList.java:507)
        at java.util.ArrayList.get(ArrayList.java:324)
        at org.compiere.model.MSchedule.layoutSlots(MSchedule.java:476)
        at org.compiere.model.MSchedule.getAssignmentSlots(MSchedule.java:330)
        at org.compiere.apps.search.VSchedule.recreate(VSchedule.java:124)
        at org.compiere.apps.search.InfoSchedule.displayCalendar(InfoSchedule.java:302)
        at org.compiere.apps.search.InfoSchedule.dynInit(InfoSchedule.java:186)
        at org.compiere.apps.search.InfoSchedule.<init>(InfoSchedule.java:61)
        at org.compiere.grid.ed.VAssignment.actionPerformed(VAssignment.java:323)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
        at java.awt.Component.processMouseEvent(Component.java:5100)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

    Host = Zeus : 1099 (2005-05-05)
        Tunnel=false, Objects=false, Process=false
    Database = zeus : 1521 / erp
    Schema = compiere
    User/Contact = SuperUser