Error in implementing menu items

when i click menu item following error comes
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JMenuItemtell me what is the problem how it can be short out
and the code is import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class a  implements ActionListener
{//static Button btn[];
static Button btn13;String str1,str2;
Random random=new Random();
Button b2=new Button();
Button b1=new Button();
int cp=0;int count=0;
static JFrame frm;
static int score;
static Button btn1;
static Button btn2;
static Button btn3;
static Button btn4;
static Button btn5;
static Button btn6;
static Button btn7;
static Button btn8;
static Button btn9;
static Button btn10;
static Button btn11;
static Button btn12;
static TextField txt2;
public static TextField txt1;
static  JMenuItem it[]=new JMenuItem[3];//creating array of refernce varaible
int l[]=new int[6];
int t[]=new int[6];
int k[]=new int[6];
static boolean g=true;
public static void main(String a[])
            //use constructor to create a frame and define button inside the frame amd make recursively call this constructor
            txt1 = new TextField(10);
            frm = new JFrame();
            frm.setLayout(new FlowLayout());
            btn1 = new Button("B");
            btn2 = new Button("B");
            btn3 = new Button("B");
            btn4 = new Button("B");
            btn5 = new Button("B");
            btn6 = new Button("B");
            btn7 = new Button("B");
            btn8 = new Button("B");
            btn9 = new Button("B");
            btn10 = new Button("B");
            btn11 = new Button("B");
            btn12 = new Button("B");
            frm.add(btn1);
            frm.add(btn2);
            frm.add(btn3);
            frm.add(btn4);
            frm.add(btn5);
            frm.add(btn6);
            frm.add(btn7);
            frm.add(btn8);
            frm.add(btn9);
            frm.add(btn10);
            frm.add(btn11);
            frm.add(btn12);
           frm.add(new JLabel("score"));
            frm.add(txt1);
            frm.add(new JLabel("time"));
            frm.add( txt2=new TextField());
            txt1.setEditable(false);
            btn13 = new Button("start");
            frm.add(btn13);
            JMenuBar bar = new JMenuBar();
            JMenu option = new JMenu("options");
            it[0] = new JMenuItem("start");
            it[1] = new JMenuItem("restart");
            it[2] = new JMenuItem("author");
            for (int pl = 0; pl < 3; pl++) {
                option.add(it[pl]);
            bar.add(option);
            a p = new a();
            it[0].addActionListener(p);
            it[1].addActionListener(p);
            it[2].addActionListener(p);
            btn1.addActionListener(p);
            btn2.addActionListener(p);
            btn3.addActionListener(p);
            btn4.addActionListener(p);
            btn5.addActionListener(p);
            btn6.addActionListener(p);
            btn7.addActionListener(p);
            btn8.addActionListener(p);
            btn9.addActionListener(p);
            btn10.addActionListener(p);
            btn11.addActionListener(p);
            btn12.addActionListener(p);
            btn13.addActionListener(p);
            frm.setTitle("BHAVISHYA");
            frm.setJMenuBar(bar);
            frm.setVisible(true);
            frm.setSize(200, 225);
            frm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            for (int l = 1; l > 0; l++) {
              if(g)  {
                txt2.setText(String.valueOf(l));
           try{Thread.sleep(1000);}
           catch(Exception e){}
continues.....

public void actionPerformed(ActionEvent e)
{ArrayList h= new ArrayList();
h.add("a");h.add("b");h.add("c");h.add("d");h.add("e");h.add("f");h.add("g");h.add("h");h.add("i");h.add("j");h.add("k");h.add("l");h.add("m");h.add("n");
h.add("o");h.add("p");h.add("q");h.add("r");h.add("s");h.add("t");h.add("u");h.add("v");h.add("w");h.add("x");h.add("y");h.add("z");
Button src=(Button)e.getSource();
String str=e.getActionCommand();
if(src==btn1)
{btn1.setLabel(String.valueOf(h.get(l[0])));
count++;
getResult(count,btn1);}
if(src==btn2)
{btn2.setLabel(String.valueOf(h.get(l[1])));
count++;
getResult(count,btn2);}
if(src==btn3)
{btn3.setLabel(String.valueOf(h.get(l[2])));
count++;
getResult(count,btn3);}
if(src==btn4)
{btn4.setLabel(String.valueOf(h.get(l[3])));
count++;
getResult(count,btn4);}
if(src==btn5)
{btn5.setLabel(String.valueOf(h.get(l[4])));
count++;
getResult(count,btn5);}
if(src==btn6)
{btn6.setLabel(String.valueOf(h.get(l[5])));
count++;
getResult(count,btn6);}
if(src==btn7)
{btn7.setLabel(String.valueOf(h.get(k[0])));
count++;
getResult(count,btn7);}
if(src==btn8)
{btn8.setLabel(String.valueOf(h.get(k[1])));
count++;
getResult(count,btn8);}
if(src==btn9)
{btn9.setLabel(String.valueOf(h.get(k[2])));
count++;
getResult(count,btn9);}
if(src==btn10)
{btn10.setLabel(String.valueOf(h.get(k[3])));
count++;
getResult(count,btn10);}
if(src==btn11)
{btn11.setLabel(String.valueOf(h.get(k[4])));
count++;
getResult(count,btn11);}
if(src==btn12)
{btn12.setLabel(String.valueOf(h.get(k[5])));
count++;
getResult(count,btn12);}
if(src==btn13)
calla();}
if(str.equals("start"))
{calla();}
if(str.equals("restart"))
{//restart();
if(str.equals("author")){
JOptionPane.showMessageDialog(frm,"BHAVISHYA GOYAL");
/**public String valueAta(int c,int s,int t)
{switch (s)      //used to work programme in three different stage ,pass three value from the beging and maintain stage variable
{  case 1: return(String.valueOf(h.get(l[c])))
            break;
     case 2:{ if(t==1)
         return(String.valueOf(h.get(l[c]+25)))
     else   
         return(String.valueOf(h.get(l[c]+50)))}
            break;
     case 3:{if(t==1)
         return(String.valueOf(h.get(l[c]+75)))
     else   
         return(String.valueOf(h.get(l[c]+100)))}
            break;
public void calla()
l=random();
k=randoma(l);                            //call the random function
int[] random()
{int nums[] =new int[6];
for (int i = 0; i < nums.length; i++) {
int num = getNumber(nums);
            nums[i] = num;
return nums;}
int[] randoma(int p[])
{//int t[]=new int[6];
ArrayList al=new ArrayList();
int numsa[] =new int[6];
for (int i = 0; i < numsa.length; i++) {
al.add(p);
//int numa = getNumbera(numsa);
// numsa[i] = numa;
// t[i]=p[numa];//if we want to choose 6 number there are 6 no but choose them randomly and all the 6 no should be included
Collections.shuffle(al);
Object [] pl=al.toArray();
for(int i=0; i<pl.length; i++)
{t[i]= ((Integer) pl[i]);
}return t;
private int getNumber(int[] array) {
int n;
do {
n = random.nextInt(25);
} while(contains(array, n));
return n;
private int getNumbera(int[] array) {
int n;
do {
n = random.nextInt(6);
} while(contains(array, n));
return n;
private static boolean contains(int array[], int n) {
for(int i = 0; i < array.length; i++)
if(array[i] == n)
return true;
return false;
void getResult(int p,Button b)
{if(p==2)
{ b2=b;
str2=b.getLabel();
//remove the button from the screen
if(str1.equals(str2)&!(b1==b2))
{b1.setLabel("R");
b2.setLabel("R");
frm.remove(b1);
frm.remove(b2);
score=score+10;
//frm.validate();
++cp;
if(cp==6)
{//define the function of creating frame in construtor so u can recursively call this function todefine the new frame
//btn13.setLabel("win");
g=false;
JOptionPane.showMessageDialog(frm,"you hit the goal score is"+String.valueOf(score)+"time is"+txt2.getText()+"sec");
calla();
//frm.removeAll();
//frm.validate();
else
try{Thread.sleep(1000);b1.setLabel("B");
b2.setLabel("B");//here makes the delay function
score=score-5;}
catch(Exception e)
{System.out.println(e);}}
count=0;}
else
{ b1=b;str1=b.getLabel();}
txt1.setText(String.valueOf(score));

Similar Messages

  • Error publishing Start Menu items -12044

    Hi,
    I am working with WebCenter Sites Jumpstart kit and i am facing error in Mirror site configuration for avisports_store Publish Destinations. The Error is given below. Any Idea how to resolve this problem
    Error publishing Start Menu items, -12044, [pagename=OpenMarket/Xcelerate/Admin/MirrorSitePost] Error: com.openmarket.xcelerate.commands.StartMenuDispatcher: Publish: com.openmarket.basic.interfaces.AssetException: Remote object save didn't fire [error was -611]
    Regards,
    Shaheer Badar
    www.infotechinspiration.blogspot.com

    The said issue is resolved by using another physical machine for publishing Start Menu items. The Other physical machine is the same replica of actual development machine and this machine is used for mirroring and publishing. Note the Other machine must be up and ping properly.
    Regards
    Shaheer Badar
    www.infotechinspiration.blogspot.com

  • Implementing menu items and saving state in my app

    Hello
    I'm a new user to the forums, but have a little bit of java programming experience.
    currently i'm writing some business applications, one of which is a payroll system. The target audience is end-user bookkeepers so i am planning for a GUI front end.
    My first question relates to how programs save their state. for example, each month the bookkeeper will launch the program and add the next months payments, or he/she will open the program to fix a mistake. In general how do programs like word, excel (or anything) save and load files to work with? I was thinking about using XML. I thought i would load in an XML file containing all work so far, and then the user could save to it, which would add the new work.
    Question the second: A lot of gui java apps i use (like argo, symphony etc) have standard menus at the tops. Items like open, save, close, print etc. How are developers actually doing this? is there some premade classes i can just use in my programs as well that would be me this funtionality? This kindof relates to my first question about saving and opening. Further, it seems there are two GUI libraries to consider - either SWT or Swring. Eclipse plugins are written in SWT (from what i have heard). Can anybody recommend which API i should be using to create a GUI for my program?
    I think that's it for now. If anybody can provide me with advice i woudl be most grateful, as i'm at a bit of a standstill with my development.
    thanks.
    Edited by: minofifa on Oct 25, 2007 1:09 PM
    attempted to take topic off the watch list - sorry guys

    My first question relates to how programs save their state. for example, each month the bookkeeper
    will launch the program and add the next months payments, or he/she will open the program to fix a
    mistake. In general how do programs like word, excel (or anything) save and load files to work with? I
    was thinking about using XML. I thought i would load in an XML file containing all work so far, and then
    the user could save to it, which would add the new work. It sounds more like you are talking about saving the data instead of state--save in a database for mass and long term storage. Simple state info can be easily save in a database also or in a bean or text file.
    Question the second: A lot of gui java apps i use (like argo, symphony etc) have standard menus at
    the tops. Items like open, save, close, print etc. How are developers actually doing this? is there
    some premade classes i can just use in my programs as well that would be me this funtionality? This
    kindof relates to my first question about saving and opening. Further, it seems there are two GUI
    libraries to consider - either SWT or Swring. Eclipse plugins are written in SWT (from what i have
    heard). Can anybody recommend which API i should be using to create a GUI for my program?Maybe this is not what you are asking, but menu systems are implemented with Menu, MenuBar, MenuItem, etc objects in Java. The specifics of what happens when the individual menu items are selected are left up to the programmer.
    If you are looking for prebuilt menubars with code attached to perform common functions, then I do not know of any included in Java.

  • Error while calling a form from another form's menu item

    I created a main form and menu module for this form.
    I am calling another form from main form menu item.
    i moved both the forms and menu and compiled them.
    But, when i run this form i am getting an error saying
    FRM 92100: Your connection to the server was interrupted
    This may be the result of a network error, or a failure on the server.
    You will need to establish your session.
    I set the seperateframe = true
    networkentries = 30
    But still getting the same error.
    Is there any parameter that i am missing.
    I will greatly appreciate if anybody can direct me to the solution.
    Thank you.
    Navya.

    Hi guest,
    the data definition is:
    DATA: XVBKD LIKE VBKDVB OCCURS 0 WITH HEADER LINE.
    the assignment:
    XVBKD-PRSDT = likp-erdat.
    Thanks,
    Hagit

  • With 3.6.12, Help menu item "For Internet Explorer Users" results in a "Page Not Found" error. Is this a known bug? Is it being addressed?

    Clicking the 3.6.12 Help menu item "For Internet Explorers" item results in a "Page Not Found" error.
    The URL of the resultant page is https://support.mozilla.com/en-US/kb/Windows%20start%20page?as=u
    Is this a known bug, if so, is it being addressed? If so, someone needs to work faster.
    If it is not a known bug, someone needs to get right on it - you want people to switch to Firefox and then there is this bug -- not a good way to impress Internet Explorer users.

    Hi Claudio Roca,
    I have encountered the same problem. Do you found the solution for this issue? I will much appreciated if you willing to share your solution and email to [email protected] Thank you so much.
    Regards,
    Hau Chee

  • Discoverer Plus/Viewer from menu item in Oracle Applications errors.

    Starting Discoverer Plus/Viewer from menu item in Oracle Applications R12 errors.
    Here is some general config information that is suspected to be the issue.
    1. Running Oracle Applications R12 over HTTPS.
    2. Running Discoverer Plus/Viewer over HTTP.
    3. Calling menu item that calls a function to start Plus/Viewer.
    Function Definition called by the menu item is listed blow.
    Properties Tab: Type=SSWA jsp function Context Dependence=Responsibility
    Form Tab: Parameters="mode=DISCO"
    Web HTML Tab: HTML Call=OracleOasis.jsp
    Fact: Starting Discoverer Plus using a URL works fine in the browser. The login page comes up and I can look in to Plus.
    The page that dose a redirection to start the Plus applet or Viewer web page fails with this error in IE 7.
    Internet Explorer cannot display the webpage
    Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    Thank you for your time.

    Hi,
    Check that the ICX system profiles are set correctly for your Discoverer configuration. In particular the ICX: Discoverer Launcher and ICX: Discoverer Viewer Launcher system profiles.
    When IE displays an error is the URL displayed in the browser a correct Disco URL?
    Rod West

  • I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.

    Hi All,
    I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.
    Implement this requirement through customization, how can i start any help
    Thanks

    Hello,
    You can follow these links to get the result that you want. You can get the desired result either using the custom list or a site map. Please make sure when you edit the master page, dont work on the original v4.master. Always make a a copy and then work
    on it.
    This link will show you how get that navigation using a list.
    http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60
    This link will show you how get that navigation using a sitemap.
    http://www.sharepointdiary.com/2012/01/custom-top-navigation-using-sitemap.html
    Please mark as "Answered" if this helped you.
    Thanks,
    norasampang

  • Why am I getting Run-time menu error (Error 88 occurred at One or more illegal menu item index in...) in my built applicatio​n (single .exe) , but don't get any error when running/de​bugging it?

    I am using LabVIEW 6.02 & also downloaded the application builder patch. For my runtime menus, I've a subVI that first calls "Delete Menu Items.vi" to get rid of the standard menu items and then "Insert Menu Items.vi" to add my own. I only get an error when I try to run the built application.

    There was a similar issue in LabVIEW 5.0 where you would get the error if you passed an empty array to the 'items' input of Delete Menu Items. This was corrected in version 5.0.1. Did you mass compile your VI's after upgrading to version 6.0.2?
    I tried to reproduce the problem in a small VI but was not successful. I can run an executable built from this example without any problems. I am attaching it for you to test.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect
    Attachments:
    menu.llb ‏33 KB

  • How do I prevent errors when accessing DDL menu items in NI Configurator?

    I am developing a DD description for a Foundation Fieldbus device. I have put menus in the DD to help present the data in my transducer blocks in an organized manner. When I access a menu item with NI Configurator 3.0, I get an error message "Network read of parameter name failed: error code -27" (See attachment). This happens for all the variables on my menus. The same variables are read correctly within the block views.
    Are there any specific requirements of menus, or unsupported DDL constructs that can not be used within DDL menu items when using NI Configurator? I have tried the Menus on other fieldbus host systems and they appear to work OK there.
    Attachments:
    ni.JPG ‏75 KB

    Are you calling "Edit Display" in your DD menu? As I know, the Configurator 3.1 version can handle "Edit Display" properly. I suggest you send your DD and CFF files to "[email protected]" for further technical support from NI.
    On the other hand, you might be able to download the Configurator 3.1 Evaluation version from "http://www.ni.com/support/fbussupp", which supports creating virtual devices/blocks with CFF and DD files. You can try on that and see whether it helps in 3.1 version.

  • Error when selecting detailed navigation menu item

    Hi,
    Usually on selection of a menu item from detailed navigation an iview appears which contains values from an R/3 system, but now when i select any item for the detailed navigation i get a download pop up window
    which  ask me to save the page. When i press the save button the download stops.
    Is this a problem with the SAP GUI ? please give me a solution ?
    Regards
    Christina Dove

    hi
    GUI Properties
    Description -
    > New ECC 6.0
    AppServer -
    > here application Server
    SysID       -
    > here System ID
    System Number -
    >
    SAP System  ---> R/3

  • How can I change the state of a runtime menu item programati​cally?

    Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
    The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
    In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
    In a second release, I've tried to use the "Application
    control/Menu" but I receive every time an error:
    Error 88 occured at Cannot modify application menu item in the printtest.vi.
    Possible reasons: LabView, Runtime menu error...
    Any suggestion is appreciated.
    Re
    gards,
    phidu

    Instead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
    Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
    Mads
    MTO

  • Calling a dll from a new menu item in Bridge.  Idiot help needed

    Hi,
    I'm trying to what I believe is a fairly simple script.  I'm coming from a hobbiest Delphi background, and to be honest I'm finding JavaScript a little bit hard to understand.  My requirements are simple - add a new menu item to Bridge which executes a call to a custom dll.  Note I'm not expecting the dll to return anything here.. 
    Looking at the samples provided even I can add the menu item - but getting it to successfully call the dll is a bit of a mystery. 
    The script compiles and adds the menu item, however the menu action doesn't call the dll.  I believe it should be a fairly simple task and was hoping somebody here could steer me right.  Here's my code (as you'll see a clear cut and paste job from the examples ;o)
    Header 1
    function SnpAddMenuItem()
      this.requiredContext = "\tAdobe Bridge must be running.\n\tExecute against Bridge CS6 as the target.\n";
      this.menuID = "snpmyMenu";
      this.menuCommandID1 = "snpAddMenuItemSub1";
      $.level = 1; // Debugging level
    SnpAddMenuItem.prototype.run = function()
      var retval = true;
      if(!this.canRun()) {
      retval = false;
      return retval;
      // Create the menu element
      var newMenu = new MenuElement( "menu", "myMenu", "before Help", this.menuID );
      // Create the menu item
      var alertCommand1 = new MenuElement( "command", "Load Stuff", "at the end of " + this.menuID, this.menuCommandID1);
      alertCommand1.onSelect = function (m1)
            ExternalObject.myDll = new ExternalObject('lib:/C/temp/apmDLL.dll');
            myDll.sendtoACRPM(1);
    //      return retval;
    SnpAddMenuItem.prototype.canRun = function()
      // Must run in Bridge
      if(BridgeTalk.appName == "bridge") {
      // Stop the menu element from being added again if the snippet has already run
      if((MenuElement.find(this.menuID)) && (MenuElement.find(this.menuCommandID)))
    // $.writeln("Error:Menu element already exists!\nRestart Bridge to run this snippet again.");
    // return false;
                MenuElement.remove(this.menuID);
      return true;
      $.writeln("ERROR:: Cannot run SnpAddMenuItem");
      $.writeln(this.requiredContext);
      return false;
    if(typeof(SnpAddMenuItem_unitTest ) == "undefined") {
      new SnpAddMenuItem().run();

    The dll needs to be compatable with the criteria set in the JavaScript Tools Guide. There is an example in the Bridge SDK that can be downloaded from http://www.adobe.com/devnet/bridge.html
    But it need someone who is knowledgeable with c++
    It would be great if someone could write a wrapper to access other external objects.

  • Problem when trying to add a link to the left menu item!!!!

    Hi everyone,
    I am trying to put a new menu group on the left menu,with a link in that group for every one.On checking with the customization guide this is what i did
    for one link i did add the following lines in each of the files
    1)xlWebAdmin.properties
    - menuGroup.Misc-Menu=Misc Menu
    - menuItem.Misc-Menu.My-Nomination=My Nomination
    2) xlDefaultAdmin.properties
    - menuItem.Misc-Menu.My-Nomination.link=mynomineefrm?showfrm
    3) repacked the war and the ear
    4) Restarted my server
    When I login into the administration(xelsysadm) page I didnt see any menu item with name "My Nomination" which i am supposed to see.
    secondly it shows the menu item when ever i select some group and click on assign menu item.
    Moreover, when I try to assign this menu item to all users group it gives me this error
    On browser it prints
    Permission Denied to Assign Selected Menu Items
    You do not have the permissions to assign one or more selected menu items.
    on console it prints
    ERROR [SERVER] Class/Method: tcDataObj/eventPreInsert Error :Insert
    permission is denied
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: maoRejections:You do not have permission to insert this obje
    ct.
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: Error occurred while adding menu items.
    ERROR [WEBAPP] Class/Method: UserGroupMenuItemsAction/commitGroupAs
    signMenuItems encounter some problems: {1}
    Thor.API.Exceptions.tcBulkException
    This problem eat my happy sunday :-(, any one has solution for this problem?
    - Also if some one can help on how to link jsp to the new link will be helpful for me!
    Thanks,
    doki

    Design Console > Form Information > add new
    Class Name Organizations.Merge
    Description Move users from one organization to another
    Type menuitem
    Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
    Organizations.Merge=mergeOrgs.do?Display
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    menuItem.Organizations.Merge=Merge
    mergeOrgs.button.display=Merge Organizations
    Even you have to assign first to System Administrator group
    First go to Manage Group
    Select System Administrator Group
    Select Menu Item
    Click Assign and select newly craeted Menu Item and click Confirm
    These are the steps to see the new menu item. To make this menu item working:
    you'll have to write action class, form bean class and you'll have to create JSPs and make their entry in struts-config as welll as in Tiles-def.xml
    Then your menu item will work.

  • Is it possible to add a single Entry Point menu item to a LabVIEW OI menu?

    Using the "TestStand - Insert Commands in Menu (Application Manager).vi" library VI, I can add all Configure menu items to a menu with the "CommandKind_ConfigurationEntryPoints_Set" option for the "Commands" input.  But the VI is missing an "Index" input to specify a single item from the collection.  (UnlikeThe "AplicationMgr.ConnectCommand()" function, which allows you to specify a single item with an index.)
    The issue is the same for Execution Entry Points and Tools as it is for Configuration Entry Point--I can create a menu containing the entire collection, but not a single item.  I tried to delve into the VI to change it to allow specification of individual commands using an index using the Commands.Insert() function instead of the Commands.InsertKind() function, but without success.
    As an aside, even when I add all Tools to a menu (using CommandKind_Tools_Set), TestStand exits with a warning that 12 "RunTimeMenuItem" objects were not released.  I'm wondering if I should be using the Engine.GetRunTimeToolMenuItems interface instead.  But if that's the case, I think I have to build the menu myself and can't use the TestStand library VIs to automatically run commands when their corresponding menu items are selected.  Maybe this is just a bug in the TestStand VIs?
    I am using TestStand 2010 SP1 with LabVIEW 2014.
    Any advice would be appreciated.  Thanks.
    -Jeff

    I am closing the TestStand Engine, VI Refnum, Quit Application event, and Event Callback, just like in the example.  I get the TestStand unreleased reference error only if I call that VI to include the Tools menu.  The fact that the unreleased objects are "RunTimeMenuItem" objects also implies to me that the problem is specific to the Tools menu items.  Since Tools menus seem to have their own API (which involves RunTimeMenuItems), it seems to me that the VI (or the TestStand Engine?) is doing something with RunTimeMenuItems that I can't see, and is somehow losing track of them (because that VI gives me no visibility to any RunTimeMenuItem objects).  Is it possible that one should explicitly use RunTimeMenuItem objects instead of the menu VI when dealing with Tools menus?  (Maybe the error is due to my using TestStand 2010 SP1 on Windows 8.1, for which TestStand 2010 SP1 is not officially supported?)

  • Problem in ECO implementation : Revised Item already implemented

    Hi,
    I have created a custom package to Implement the ECO changes in all the organizations where the target BOM exists. Previously I had only one inventory organization and this package was implementing the changes correctly.
    But currently, we have created another Inventory organization, the problem is the ECO implementation is occurring for any one of the either organizations.
    In this course, it is failing with the above given errors for the 2nd organization.
    Entity Id: XX
    Index: 1
    Mesg: The revised item YYYY has already been implemented.
    Entity Id: XX
    Index: 1
    Mesg: This record received a fatal error since a fatal error occured in revised item YYYY while checking if the user has access to it.
    Entity Id: XX
    Index: 1
    Mesg: This record received a fatal error since a fatal error occured in revised item YYYY while checking if the user has access to it.
    Entity Id: XX
    Index: 1
    Mesg: An error occured while processing business object ABC in organization XY. Please check the data in this business object and re-run the import process.
    Please suggest if there is any thing missing in the set up or whether this is any technical pl/sql related issue.
    Thanks,
    Anwesha

    Try and logout and login and run again.
    Or try and see in debug mode why its not reading the BREAK;

Maybe you are looking for