Thursday, April 23, 2015

Project Imported with missig Tasks.... and with ArrayIndexOutOfBoundsException and ProjectSpace.createDepedencyMap

When import and preview is ok,  but when try to create, error displayed in Tomcat

Resolve by:  your import csv file contain "Dependency" value format error!!  in my case I had 15 or the wrong format 15:FS , but the format should be:  15:FS+0.0 d
And it will all work out.



java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
        at java.util.Vector.get(Vector.java:744)
        at matrix.util.List.get(List.java:119)
        at com.matrixone.apps.program.ProjectSpace.createDepedencyMap(ProjectSpace.java:6253)
        at com.matrixone.apps.program.ProjectSpace.completeImportProcess(ProjectSpace.java:6051)
        at org.apache.jsp.programcentral.emxProgramCentralUtil_jsp._jspService(emxProgramCentralUtil_jsp.java:2867)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

Project Import or Gantt Chart does not display with com.matrixone.apps.program.GanttChart.getDependencyColumnValue(GanttChart.java:817) error

When import Project or Display Gantt Chart, the Gantt Chart did not get displayed.

Try not to use 2 dependency together.   Somehow only one dependency is available.
Well, I have not figure out the format for 2 or more dependencies....^^



java.lang.ClassCastException: matrix.util.StringList cannot be cast to java.lang.String
        at com.matrixone.apps.program.GanttChart.getDependencyColumnValue(GanttChart.java:817)
        at com.matrixone.apps.program.GanttChart.getCommonXMLString(GanttChart.java:341)
        at com.matrixone.apps.program.GanttChart.getXMLStringForPlanningView(GanttChart.java:434)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:261)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:280)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:280)
        at com.matrixone.apps.program.GanttChart.getXMLTaskStore(GanttChart.java:221)

Wednesday, April 8, 2015

Login failed: 'RWA' Licenses(s) does not exist on license server. Please get the licenses(s)

Login Fail has caused by the users "Test Everything or admin_platform" has assigned some trigram / licenses and store in  Oracle Database.

But, upon login, the uses' assigned licenses are checked with the License Server.

In this case "admin_platform" has already assigned to use "RWA" license in Database,
but in license server, there aren't any valid "RWA" license available.



Resolve:   Open  MQL.exe program
MQL<11> set context user creator;
MQL<12>modify product RWA remove person 'admin_platform';
MQL<13>

if it does not complain with errors.... then try login again.

You can also try to print out what users are assigned with 'RWA' license:
MQL<27>print product RWA person;
product   RWA
    name = RWA
    description =
    property =
    hidden =
    id =
    modified =
    originated =
    package =
    admintype = product
    title = RWA - Review and Approve
    person = Test Everything
    casualhour = 0
    derivative = ENOBUPS_AP
    derivative = ENOCLRE_AP
    derivative = ENOCOMI_AP
    derivative = ENOWCOL_AP
    derivative = ENOWISU_AP
    derivative = ENOWTSK_AP
    derivative = INFNCAP_TP
    dependency = CSV
    richclient = FALSE
    webclient = TRUE
    addon = FALSE
    shareable = FALSE
    nameduser = TRUE
    token = FALSE
    userexperience = TRUE
    app = FALSE
    technical = FALSE
    public = FALSE
    dynamic = FALSE
MQL<28>