Planning Analytics

 View Only
Expand all | Collapse all

Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

  • 1.  Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Tue May 26, 2020 09:25 AM

    Hi Everyone, 

    I am experiencing an error only in a particular instance of TM1. I am using Linux server and this occurs only with Performance modeler. When I try to open any cube/ processes I am getting this error, However Architect & PAW works fine. 

    I couldn't find any logs in the server for this error. Any help/guidance in this error would be helpful. 

    Error : 
    Internal Application Problem

    There was an internal application problem. Try to save your work and exit the application.

    Failed to execute runnable (java.lang.Error: java.lang.ArrayIndexOutOfBoundsException)

    com.ibm.cdf.pmui.editors.ModelElementEditor.createPartControl(ModelElementEditor.java:88)
    org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
    org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:315)
    org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    com.ibm.mdt.presentation.MDTEditorStackPresentation.addPart(MDTEditorStackPresentation.java:49)
    org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1594)
    org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
    org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
    org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
    org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
    org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2955)
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2863)
    org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2855)
    org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2806)
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2802)
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2786)
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2769)
    com.ibm.mdt.widgets.utils.EditorUtils.open(EditorUtils.java:293)
    com.ibm.mdt.widgets.utils.EditorUtils.access$000(EditorUtils.java:64)
    com.ibm.mdt.widgets.utils.EditorUtils$3.run(EditorUtils.java:124)
    org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    com.ibm.mdt.app.Application.start(Application.java:116)
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    java.lang.reflect.Method.invoke(Method.java:508)
    org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    org.eclipse.equinox.launcher.Main.main(Main.java:1414)





    ------------------------------
    Manikandan Moorthy
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Wed May 27, 2020 08:41 AM
    I would avoid using Performance Modeler unless you have a very specific reason to use it.  Our modeling roadmap is entirely focused on Planning Analytics Workspace.  There are a number of modeling features that are only supported through Workspace (creating hierarchies is a good example).

    Performance Modeler adds a bunch of objects to the TM1 database only to support the use of Performance Modeler.  This sort of error is typically caused by one of these objects being missing or incorrect in some way.  A full list of these objects can be found here: 

    https://www.ibm.com/support/pages/performance-modeler-additions-and-changes-tm1-objects

    You might want to try stopping the TM1 database, make a backup (most important part), and deleting the Performance Modeler objects.

    }ElementAttributes_}DeployedLinkRecord.cub
    }ElementAttributes_}DeployedLinkRecord.dim
    }ElementAttributes_}Modeling.cub
    }ElementAttributes_}Modeling.dim
    }ElementAttributes_}ModelProperties.cub
    }ElementAttributes_}ModelProperties.dim
    }-intDPD-hidden-1.dim
    }-intDPD-hidden-2.dim
    }Modeling.dim
    }ModelProperties.dim

    When you restart the TM1 model and reconnect with Performance Modeler these will be recreated.  Note that this will break the folder structure that Performance Modeler provides to your model objects.








    ------------------------------
    Stuart King
    IBM Planning Analytics Offering Manager
    ------------------------------



  • 3.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Thu May 28, 2020 09:20 AM
    Thanks Stuart for your response. This works as intended and folder structure has been lost as you said. 

    I would like to know about using Planning Analytics Work space, especially for creating Links .  can you please enlighten me.

    ------------------------------
    Manikandan Moorthy
    ------------------------------



  • 4.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Fri May 29, 2020 04:00 AM
    I did this summary of the areas where (IMO) Performance Modeler has value:
    https://www.tm1forum.com/viewtopic.php?f=3&t=13376&p=75899#p75899
    'Links' are a Modeler/Contributor technique which created (often very poor) rules/feeders, or TIs, behind the scenes . You can now create and manage most of the developer tasks in PAW, including rules, feeders and TIs. I have tended to stick to Architect/Perspectives as I know where things are and everything runs quickly (well, apart from opening the Properties window on a large dimension over a WAN :) ) - but the PAW features certainly look as if they are maturing nicely.

    ------------------------------
    David Usherwood
    ------------------------------



  • 5.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Fri May 29, 2020 04:03 AM
    I hate to point out the obvious but PAW and IBM are still miles behind Arc by Cubewise. If you want a real IDE Arc is the way to go imho





  • 6.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Mon June 01, 2020 10:32 AM
    +1 for me on Arc, and Pulse, also from Cubewise. The lack of functionality for the admin dashboards in PAW is perplexing to say the least.

    ------------------------------
    Paul Segal
    ------------------------------



  • 7.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Tue June 02, 2020 02:22 AM
    Hello Ryan,
    My 2 cents on this topic.
    It's a TM1's legacy: this tool has always been between programmers and business PowerUsers. So not too techy to allow PowerUsers to easily get a hand on it and the counterpart is that it has always been missing some key features for true programmers : true code editing feature, function & array in TI, ability to use fixed fonts in the rules or TI editor... 
    Instead of providing strong basic building blocks, Applix/Cognos/IBM has always tried to provide packaged solutions which could be handled by both Powerusers and IT.
    This has ended in messy and complicated solutions : Planning Manager, Performance Modeler... I've never been a big fan of these solutions.
    Now with PA, they thought, initially, that a programmer will be happy to use a dashboarding/reporting tool to edit code. IMHO, they're following the wrong path and it seems that they realized it as a true TM1 IDE may come someday from  IBM.
    With the extremely powerful REST API (thanks to Hubert) the TM1 fundation is strong and allows to build solutions on top of it.
    Cubewise has the right approach: create smart and technically sophisticated software and make it understandable/accessible to PowerUsers. If the Covid crisis was not there, I'll have been quite confident to be able to have the company I work buy few ARC licences...As of right now, It's really the best in town tool for a TM1 professional developper.
    My secret hope is that some day, a Visual Studio Code extension will be available for free to edit TM1 rules and TI processes... but it may remain just a dream.
    Regards,




    ------------------------------
    Bob
    ------------------------------



  • 8.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Fri May 29, 2020 04:01 AM
    Edited by System Fri January 20, 2023 04:48 PM
    Oops !!.. I am getting this error again from this morning, the above solution didn't help fully.  Performance Modeler behaves so strange.

    Any other ideas ?  ​

    ------------------------------
    Manikandan Moorthy
    ------------------------------



  • 9.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Fri May 29, 2020 04:04 AM

    Stop using performance modeler?





  • 10.  RE: Performance Modeler - Internal Application Error - java.lang.Error: java.lang.ArrayIndexOutOfBoundsException

    Posted Thu June 04, 2020 04:43 PM
    Hi All, 

    I have found the culprit which breaks the performance modeler tool . 

    I am using 'RefreshMdxHierarchy('') every night to refresh the MDX hierarchies in all dimensions in server without restart the server.
     Now , Removed this process and PM is back to normal . 

    But , need to see why this function is breaking PM. 

    IBM Knowledge Center for this function: 
    https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_ref.2.0.0.doc/r_tm1_ref_tifun_refreshmdxhierarchy.html




    ------------------------------
    Manikandan Moorthy
    ------------------------------