Including External LVOOP Public Methods in Executable

Hello,
I have an application which on the top level must 'talk' to several different instruments; a LabJack UE9 (USB) , a Newport Motion Controller (USB-Serial), etc.    When I wrote the drivers for these instruments in LV, I used the LVOOP functionality and created individual Classes with public methods for each of the different devices I need to communicate with.  Sounds logical to me, anyway. 
In my top-level application, I call the public methods (and must include local instances of the LVOOP classes) for those independant instrument-specific classes.  In the development mode, everything works peachy.   However, when I go to build the application executable (build), I get some weird behavior;
Firstly, with the default setting in 'Additional Exclusions' in the Build Properties of 'Remove as much as possible', I get errors when the builder gets to my independent classes.  I get the message:
"An error occurred while building the following file:
C:\Documents and Settings\Wes Ramm\My Documents\Projects\RDT\LabJack\Class\Common Methods\Get DO Line State.vi
The VI became broken after disconnecting type definitions. Open the Build Specification and choose a different option on the Additional Exclusions page."
Ok, it seems that the class object is not linking, but I can get around that by selecting the second option in 'Additional Exclusions' ; 'Remove unreferenced project library members'.  BUT, when the build is done, I get a couple of subdirectories with vi's named for all the different class methods for each independent that I am calling.  There is no front panel or block diagram for the vis, so it looks like they are correctly 'included' in the build, but it seems cumbersome to include these subdirectories.
I even tried to 'add' the independant classes to the project by 'Add Folder', but got the same behavior. 
The classes that I made are not a part of the top level VI, and the top Leve VI is not a member of any of the classes, so this I think is the crux of the matter.  However, I am instantiating only the public methods, and the problems only pop up when I try to build the executable.
Am I missing something?  Is there a more elegant way to do this?  Any advise / tutorials / knowledgebase articles you can point me to?
The tree for the directory structure for my build looks like this (for reference)
\\Application Directory\
                         Executable
                         \Config
                                  \ Class One.lvclass  (first external class that I am calling in my top-level vi)
                                      \ Method 1
                                      \ Method 2
                                      \ Method 3
                                       \ etc
                                  \ Class Two.lvclass
                                        \Method 1
                                        \Method 2
                                        \Method 3
                                        \ etc
Thanks,
Wes Ramm
Wes Ramm, Cyth UK
CLD, CPLI

Hello Wes Ramm,
It's better late than never! Hence I'm going to address some of the issues that you've brought up.
1) Which version of LabVIEW are you using? LabVIEW 8.5 has fixed a lot of issues that occured between the Application Builder and LV Classes. If you were using LV 8.2, I would suggest changing to LV 8.5 or at least LV 8.2.1
2) Apart from setting "Do not disconnect type definitions or remove unreferenced members" in the Additional Exclusions page, I would suggest also checking the box against "Enable Debugging" on the Advanced Page.
The following forum post has discussed many of the problems that have come up when building an executable which uses LVOOP classes. Hope this helps.

Similar Messages

  • Public method of javabean not executed when invoked with FBEAN.INVOKE_NUM

    Hi,
    i write a trivial javabean with public method named 'somme' that return int value and take no arguments.
    i my PL/SQL trigger code, i register an instance of the bean and take a call to the public method 'somme' that return a int value that i display in display item of my form.
    the java bean is well registered and i verified that the code in the constructor is well executed. But the call to the public methode dont work.
    thank you for your help.

    Hello,
    it's a mistake for me. when i instanciate the javabean from another java classe in jdev, the execution is well and the process exited with code 0.
    but when i instanciate it from pl/sql the problem occurs.
    i commented all the lines of my code except the line that register the javabean
         FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
    and i have the same problem even though the code in the constructor is executed.
    the error occurs after the code in the concstructor is executed.
    i folllow all the information about this error:
    Contenu de la console Java
    JInitiator: Version 1.3.1.18
    Utilisation de la version JRE 1.3.1.18-internal Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\amsai1
    Configuration du proxy : aucun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\amsai1\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banicons.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerui71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banspecial.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banorep71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerid71.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/missing.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. La version Forms Applet est : 9.0.4.0
    *** VBean null PropertyManager for id = FOREGROUND
    *** VBean Got FOREGROUND = null
    *** VBean null PropertyManager for id = BACKGROUND
    *** VBean Got BACKGROUND = null *** VBean Setting debugMode to ALL *** VBean Setting beanName to amar.FbeanExemple
    Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/fbeanexemple.jar from JAR cache
    Instance hhhjhyu du bean est créée op1 = 0 op2 = 0
    *** VBean Failed to instantiate class: amar.FbeanExemple java.lang.ClassCastException: amar.FbeanExemple
    Ma classe Java
    package amar;
    public class FbeanExemple
         private int op1;
         private int op2;
    public FbeanExemple()
    System.out.println("Instance hhhjhyu du bean est créée");
    System.out.println("op1 = " + this.op1);
    System.out.println("op2 = " + this.op2);
    public int additionner()
    return this.op1 + this.op2;
    public int soustraire()
    return this.op1 - this.op2;
    public int sommer(int a, int b)
    return a + b;
    public void faire()
    System.out.println("je suis passe par ici");
    public void setOp1(int a)
    this.op1 = a;
    public void setOp2(int a)
    this.op2 = a;
    public int getOp1()
    return this.op1;
    public int getOp2()
    return this.op2;
    Mon code PL/SQL
    declare
         hBean ITEM := Find_Item('CTL.BEAN_AREA4');
         result INTEGER;
    begin
         FBEAN.SET_LOGGING_MODE(hBean,1,FBEAN.LOG_ALL);
         FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
         result := FBean.Invoke_Num(hBean, 1, 'additionner');
         :CTL.R := result;
    end;
    Thank you for your help.

  • External task - prepare method - decode-encode

    In the prepare method, I write code refer to thread:
    How to invoke a java application in the middle of the process
    Using Papi to operate with process
    How to invoke a java application in the middle of the process
    If the error is caused by decoding and encodeing the URL, please tell me how to fix this problem.
    Thanks a lot.
    The code snippet as follows
    -------------------code-----------------------------------------------
    package getinstance;
    import fuego.lang.DynamicObject;
    import fuego.papi.Arguments;
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Properties;
    public class prepare {
    public prepare() {
    public static void main(String[] args) {
    prepare prepare = new prepare();
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    System.out.println("1111111111111");
    Arguments argumentsResult = Arguments.create();
    String taskIn = "0";
    //String activity = "/InvokeJavaProcess#Default-1.0/InteractiveJava"; //both are fine
    String activity = "InteractiveJava"; //both are fine
    String instanceId = "/InvokeJavaProcess#Default-1.0/203/0";
    try {
    ProcessService processService = ProcessService.create(configuration);
    ProcessServiceSession session = processService.createSession("jcooper", "welcome1", "host");
    System.out.println("33333 instanceID="+instanceId);
    argumentsResult = session.activityPrepare(activity, instanceId, Arguments.create()); // error starts from here
    System.out.println("444444444");
    DynamicObject obj = argumentsResult.getDynamicObject();
    Map fieldMaps = obj.asFieldsMap();
    for (Iterator<String> iterator = fieldMaps.keySet().iterator(); iterator.hasNext();) {
    String key = iterator.next();
    System.out.println("key : "+ key + "value" +obj.getField(key));
    DynamicObject obj2 = argumentsResult.getDynamicObject();
    Map fieldMaps2 = obj2.asFieldsMap();
    for (Iterator<String> it = fieldMaps2.keySet().iterator(); it.hasNext();) {
    System.out.println("key : "+ key + " value : "+ obj2.getField(key));
    session.close();
    } catch (OperationException e) {
    e.printStackTrace();
    But I get errors like follow:
    -------------------error---------------------------------------
    E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\Java_be_invoked\getInstance\classes;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar getinstance.prepare
    1111111111111
    Creating connector [fuego:SQL]
    Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
    Local folder /tmp\system\Schema3387192-1796619082\catalogs found.
    Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
    1 jars found locally.
    Local jar '126' succesfully loaded.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 14949315:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 14949315:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
    Counters:
    ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
    33333 instanceID=/InvokeJavaProcess#Default-1.0/203/0
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    Adding local catalog for project: 124
    [CatalogLoaderMgrCache] =======================
    CatalogClassLoader[oracle/2009-03-31 18:08:47+08:00-124] added to cache
    Catalog ClassLoader MAP:
    {oracle/2009-03-31 18:08:47+08:00-124=CatalogClassLoader(FuegoObjectCatalog(catalogIn: 124, directoryId: oracle/2009-03-31 18:08:47+08:00))}
    Catalog Manager Cache:
    CatalogManagerCache 14949315:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
    Counters:
    {oracle/2009-03-31 18:08:47+08:00=1}
    fuego.papi.exception.TaskFailedException: Task '0' in activity '/InvokeJavaProcess#Default-1.0/Interactive[InteractiveJava]' for instance '/InvokeJavaProcess#Default-1.0/203/0' could not be successfully executed. The task failed while executing method '%PREPARE%'.
         at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
         at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3572)
         at fuego.fengine.FEngineProcessBean.createTaskFailedException(FEngineProcessBean.java:398)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3193)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         at fuego.component.CustomExecution.next(CustomExecution.java:176)
         at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
         at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:695)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1420)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1414)
         at getinstance.prepare.main(prepare.java:43)
    Caused by: fuego.lang.ComponentExecutionException: The method 'CIL_interactiveJavaPrepare' from class 'oracle.InvokeJavaProcess.Default_1_0.Instance' could not be successfully executed.
         at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:519)
         at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273)
         at fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1280)
         at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
         at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:425)
         at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
         at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.NullPointerException
         at oracle.InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare(Instance.xcdl:1)
         at oracle.InvokeJavaProcess.Default_1_0.Instance.CIL_interactiveJavaPrepare(Instance.xcdl)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512)
         ... 34 more
    Process exited with exit code 0.
    ----------------------------------------------------------------

    Hi Satinder,
    This time I change something in the process.
    1, the process still has 3 interactive activities: jcooperkeyin, tojava, Interactivejstein.
    2, I create a BPMObject including amount (decimal, 2) , purpose
    3, the main task of jcooperkeyin is a screenflow: set values to purpose and amount
    4, tojava activity is external.
    Prepare method name: tojavaprepare
    method contents:
    arg1.amount=var1.amount
    arg1.purpose=var1.purpose
    Commit method: tojavacommit
    method contents:
    var1.purpose=arg2.purpose
    var1.amount=arg2.amount
    5, I create an instance variable name var1 and its type is BPMObjec
    6, the argument module is changed to out
    7, I change the java prepare method code as you commend:
    8, After I run the java prepare method, I get some new errors which as follow:
    --------------------------code----------------------------------------------------
    package getinstance;
    import fuego.lang.Decimal;
    import fuego.lang.DynamicObject;
    import fuego.papi.Arguments;
    import fuego.papi.CommunicationException;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import java.math.BigDecimal;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Properties;
    public class prepare {
    public prepare() {
    public static void main(String[] args) {
    prepare prepare = new prepare();
    Properties configuration = new Properties();
    configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "D:\\BPM_HOME_standalone\\webapps\\papiws\\WEB-INF\\directory.xml");
    configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");
    System.out.println("1111111111111");
    Arguments argumentsResult = Arguments.create();
    String taskIn = "0";
    String activity = "tojava";
    //String activity = "jcooperkeyin";
    String processId = "/InvokeJava2#Default-1.0";
    //String instanceId = "/InvokeJava2#Default-1.0/281/0";
    Arguments arguments = Arguments.create();
    DynamicObject dyn = DynamicObject.create();
    dyn.setField("amount", new BigDecimal(100.0));
    dyn.setField("purpose", "---------");
    arguments.putArgument("var1", dyn);
    try {
    ProcessService processService = ProcessService.create(configuration);
    ProcessServiceSession session = processService.createSession("jcooper", "welcome1", "host");
    String ist="ist";
    for (InstanceInfo instance : session.processGetInstances(processId)) {
    System.out.println(" instance.getId()-> " + instance.getId());
    ist=instance.getId();
    System.out.println(" activity.getActivityId()-> " +instance.getActivityId());
    System.out.println(" activity.getActivityName()-> " +instance.getActivityName());
    System.out.println("----------111----------------------");
    argumentsResult = session.activityPrepare(activity, instance.getId(), arguments); //error starts from here
    System.out.println("-----2222-----------");
    DynamicObject obj = argumentsResult.getDynamicObject();
    Map fieldMaps = obj.asFieldsMap();
    for (Iterator<String> iterator = fieldMaps.keySet().iterator(); iterator.hasNext();) {
    String key = iterator.next();
    System.out.println("key : "+ key + "value" +obj.getField(key));
    DynamicObject obj2 = argumentsResult.getDynamicObject();
    Map fieldMaps2 = obj2.asFieldsMap();
    for (Iterator<String> it = fieldMaps2.keySet().iterator(); it.hasNext();) {
    System.out.println("key : "+ key + " value : "+ obj2.getField(key));
    System.out.println("444444444");
    session.close();
    } catch (OperationException e) {
    e.printStackTrace();
    ---------------------new error------------------------------------------------------
    E:\Jdeveloper10131_20090318\jdk\bin\javaw.exe -client -classpath E:\Jdeveloper10131_20090318\jdev\mywork\Java_be_invoked\getInstance\classes;D:\BPM_HOME_standalone\client\papi\lib\fuegopapi-client.jar;D:\BPM_HOME_standalone\client\papi\lib\b1base.jar;D:\BPM_HOME_standalone\client\papi\lib\b1oracle.jar;D:\BPM_HOME_standalone\client\papi\lib\b1util.jar getinstance.prepare
    1111111111111
    Creating connector [fuego:SQL]
    Creating ProcessService with id 'oracle/2009-03-31 18:08:47+08:00'.
    Local folder /tmp\system\Schema3387192-1796619082\catalogs found.
    Loading catalogs from local folder: /tmp\system\Schema3387192-1796619082\catalogs
    1 jars found locally.
    Local jar '181' succesfully loaded.
    [CatalogMgrCache] =======================
    Registering CatalogMgr [oracle/2009-03-31 18:08:47+08:00] ...CatalogManagerCache 14949315:
    Managers:
    Counters:
    [CatalogMgrCache] =======================
    CatalogMgr [oracle/2009-03-31 18:08:47+08:00] REGISTERED!CatalogManagerCache 14949315:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
    Counters:
    ProcessService 'oracle/2009-03-31 18:08:47+08:00' created successfully.
    Unreachable Engine Tolerance (seconds):
    by default: 0
    to be used: 0
    This papi client will not cache exceptions which imply that an engine could not be reached.
    instance.getId()-> /InvokeJava2#Default-1.0/281/0
    Adding local catalog for project: 181
    activity.getActivityId()-> /InvokeJava2#Default-1.0/tojava
    activity.getActivityName()-> tojava
    ----------111----------------------
    [CatalogLoaderMgrCache] =======================
    CatalogClassLoader[oracle/2009-03-31 18:08:47+08:00-181] added to cache
    Catalog ClassLoader MAP:
    {oracle/2009-03-31 18:08:47+08:00-181=CatalogClassLoader(FuegoObjectCatalog(catalogIn: 181, directoryId: oracle/2009-03-31 18:08:47+08:00))}
    Catalog Manager Cache:
    CatalogManagerCache 14949315:
    Managers:
    {oracle/2009-03-31 18:08:47+08:00=fuego.util.LocalCatalogManager@1dacccc}
    Counters:
    {oracle/2009-03-31 18:08:47+08:00=1}
    Processing the synchronization information, instance '181:281:0' was updated.
    fuego.papi.OperationException: Operation exception.
         at fuego.papi.OperationException.wrap(OperationException.java:65)
         at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:706)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1420)
         at fuego.papi.impl.ProcessServiceSessionImpl.activityPrepare(ProcessServiceSessionImpl.java:1414)
         at getinstance.prepare.main(prepare.java:58)
    Caused by: fuego.rmi.RMIRuntimeException: Fuego RMI: Failure during the invocation. Check the exception chain for details.
         at fuego.rmi.RemoteProxy.processBatch(RemoteProxy.java:192)
         at fuego.component.ExecutorClient.dispatch(ExecutorClient.java:190)
         at fuego.component.CustomExecution.next(CustomExecution.java:247)
         at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
         at fuego.papi.impl.ProcessInstanceOperation.prepareExternalActivity(ProcessInstanceOperation.java:695)
         ... 3 more
    Caused by: fuego.rmi.spi.SerializationException: Unable to receive the message because of a serialization error.
         at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:105)
         at fuego.rmi.ServerCluster.send(ServerCluster.java:210)
         at fuego.rmi.ServerCluster.sendResult(ServerCluster.java:461)
         at fuego.rmi.ServerCluster.access$300(ServerCluster.java:43)
         at fuego.rmi.ServerCluster$ClientRequest$1.put(ServerCluster.java:556)
         at fuego.component.ExecutionThread.sendResult(ExecutionThread.java:532)
         at fuego.component.ExecutionThreadContext.doClientInvoke(ExecutionThreadContext.java:695)
         at fuego.component.ClientRemoteComponent.doInvocation(ClientRemoteComponent.java:303)
         at fuego.component.ClientRemoteComponent.invokeRelayTo(ClientRemoteComponent.java:211)
         at fuego.component.ExecutionRelayedThrowable.execute(ExecutionRelayedThrowable.java:109)
         at fuego.server.execution.TaskExecution.handleExecutionRelayedThrowable(TaskExecution.java:816)
         at fuego.server.execution.TaskExecution.handleComponentExecutionException(TaskExecution.java:767)
         at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:516)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
         at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
         at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
         ... 8 more
    Caused by: java.io.NotSerializableException: java.lang.Object
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at java.util.HashMap.writeObject(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeArray(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at fuego.component.Message.writeObject(Message.java:653)
         at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at fuego.component.Batch.writeObject(Batch.java:151)
         at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
         at java.io.ObjectOutputStream.writeObject(Unknown Source)
         at fuego.rmi.Packet.write(Packet.java:240)
         at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:102)
         at fuego.rmi.ServerCluster.send(ServerCluster.java:210)
         at fuego.rmi.ServerCluster.sendResult(ServerCluster.java:461)
         at fuego.rmi.ServerCluster.access$300(ServerCluster.java:43)
         at fuego.rmi.ServerCluster$ClientRequest$1.put(ServerCluster.java:556)
         at fuego.component.ExecutionThread.sendResult(ExecutionThread.java:532)
         at fuego.component.ExecutionThreadContext.doClientInvoke(ExecutionThreadContext.java:695)
         at fuego.component.ClientRemoteComponent.doInvocation(ClientRemoteComponent.java:303)
         at fuego.component.ClientRemoteComponent.invokeRelayTo(ClientRemoteComponent.java:211)
         at fuego.component.ExecutionRelayedThrowable.execute(ExecutionRelayedThrowable.java:109)
         at fuego.server.execution.TaskExecution.handleExecutionRelayedThrowable(TaskExecution.java:816)
         at fuego.server.execution.TaskExecution.handleComponentExecutionException(TaskExecution.java:767)
         at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:516)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
         at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:501)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:454)
         at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:104)
         at fuego.server.AbstractProcessBean$48.execute(AbstractProcessBean.java:3184)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:3188)
         at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Process exited with exit code 0.

  • [svn] 920: Add missing or incomplete Javadoc for public methods.

    Revision: 920
    Author: [email protected]
    Date: 2008-03-25 15:37:25 -0700 (Tue, 25 Mar 2008)
    Log Message:
    Add missing or incomplete Javadoc for public methods.
    (merge from 3.0.x branch)
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/io/AbstractProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/BeanProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/DictionaryProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/MapProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/PropertyProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/PropertyProxyRegistry.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/SerializationProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/ThrowableProxy.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/AbstractAmfInput.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/AbstractAmfOutput.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/ActionContext.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/AmfTrace.java
    blazeds/trunk/modules/core/src/java/flex/messaging/io/amf/translator/ASTranslator.java
    blazeds/trunk/modules/core/src/java/flex/messaging/log/ServletLogTarget.java
    blazeds/trunk/modules/core/src/java15/flex/messaging/io/Java15TypeMarshaller.java
    blazeds/trunk/modules/core/src/java15/flex/messaging/io/amf/Java15Amf0Output.java
    blazeds/trunk/modules/core/src/java15/flex/messaging/io/amf/Java15Amf3Output.java
    blazeds/trunk/modules/core/src/java15/flex/messaging/io/amfx/Java15AmfxMessageSerializer. java

    Hello Wes Ramm,
    It's better late than never! Hence I'm going to address some of the issues that you've brought up.
    1) Which version of LabVIEW are you using? LabVIEW 8.5 has fixed a lot of issues that occured between the Application Builder and LV Classes. If you were using LV 8.2, I would suggest changing to LV 8.5 or at least LV 8.2.1
    2) Apart from setting "Do not disconnect type definitions or remove unreferenced members" in the Additional Exclusions page, I would suggest also checking the box against "Enable Debugging" on the Advanced Page.
    The following forum post has discussed many of the problems that have come up when building an executable which uses LVOOP classes. Hope this helps.

  • How to  include external javascript and css resources to a jsf?

    I need to include external css and javascript files to my jsf page. Using the code below does not work because all the styles on the css page are ignored and the functions within the js files are not executed.
    <link rel="stylesheet" type="text/css" href="/resources/styles/style.css" />
    <script language="JavaScript" src="/resources/javascript/util.js"></script>When I try to execute any js function within a script tag on a jsf page I get an object expected error.
    I googled about my problem and found this piece of code for importing styles for an external css.
    <style type="text/css">
    @import url("/resources/styles/style.css");
    </style>How could I add an external javascript file to my jsf?

    Used the relative urls in my first post as well as these, and both were not working.
    <link rel="stylesheet" type="text/css" href="./resources/styles/style.css" />
    <script language="JavaScript" src="./resources/javascript/util.js"></script>The ./ tells that the external file can be found by starting at the current directory and working down the path to the specified file. This is my directory structure. Index.jsf is the file that references the external js and css files.
    -Webcontent
    |_index.jsf
    |_resources
    |__styles
    | |__style.css
    |__javascript
    |__util.js
    Either way I still can't reference the files that I need. Calling a javascript function results in an object expected error, and the styles are ignored.
    If I include the js file directly in the jsf then I can get it to work. I don't want to do this because I have created a handful of seperate js files, and do not want to include all of them in one page. I am using myfaces and tomahawk if that helps.

  • Instance Dependent Public Method is not working for Workflow

    Hello Experts,
    I have made Custom class for  a workflow. This class is triggering the WF fine but the problem is while trying to execute a WF task which contains a Instance Dependent & Public  method its not working , the WF task is not processing though I'm passing the instance of the class  properly from WF to WF task . When I'm changing the method to Static & Public then the workitem is executing perfectly. Can you please help & suggest the way to find the problem ?
    Thanks & Regards ,
    Jeet

    Are you absolutely sure that you have the instance of the object in the workflow container? Open the technical log the see if the object instance is there - or is the container element initial (or "not set")?
    yes it is instantiated properly no error over there.
    What about if you test the method directly in SE24 (as an instance method)? Is it working then? If you can make it work in SE24 as an instance method and you are sure that the instance exists in the workflow,
    I have checked the class in a stand alone run in this case also it runs fine as before.
    The obvious question of course is that have you implemented the IF_WORKFLOW interface methods (the two first ones).
    it is coded like below
    BI_PERSISTENT~FIND_BY_LPOR
      create object result
          type
            (lpor-typeid)
          exporting
            ip_key = lpor-instid.
    CONSTRUCTOR
       me->m_KEY    = ip_key.
       me->m_por-catid = 'CL'.
       me->m_por-typeid = CL_ZZZ'.
       me->m_por-instid = me->m_key
    BI_PERSISTENT~LPOR
    result =  me->m_por.
    Main confusion is Method is working only if declared STATIC & PUBLIC  but not for the INSTANCE DEPENDENT & PUBLIC.

  • Public methods/fields

    What would be wrong with making all my fields, classes, methods, ect public. How would people be able to tamper from outside with them.

    Another reason to make variables private is to separate the interface of your class from the internal implementation. A simple example of this is a class to represent a complex number (a + bi). You would have some public methods for manipulating the complex number, but you would want the actual representation of the complex number to be internal and private. Why? Because at some later time, you might want to change the internal representation, for performance reasons, or to exploit some new feature, etc.
    If you had all public variables and public methods, there would be nothing you could change without requiring the users of your class to rewrite their code, which, after all, depended on all the public variables you had in it.
    If, on the other hand, you had the internal representation hidden with private variables and methods, the change in implementation would be no problem and users could use your new improved class without rewriting their code.
    That's one of the main benefits of OOP; being able to wall off your internal implementation while keeping a viable external interface.

  • Error while calling a super class public method in the subclass constructor

    Hi ,
    I have code like this:
    CLASS gacl_applog DEFINITION ABSTRACT.
      PUBLIC SECTION.
        METHODS:
                create_new_a
                   IMPORTING  pf_obj       TYPE balobj_d
                              pf_subobj    TYPE balsubobj
                              pf_extnumber TYPE string
                   EXPORTING  pfx_log_hndl TYPE balloghndl
                   EXCEPTIONS error
    ENDCLASS.
    CLASS gacl_applog IMPLEMENTATION.
      METHOD create_new_a.
        DATA: ls_log TYPE bal_s_log.
      Header aufsetzen
        MOVE pf_extnumber TO ls_log-extnumber.
        ls_log-object     = pf_obj.
        ls_log-subobject  = pf_subobj.
        ls_log-aluser     = sy-uname.
        ls_log-alprog     = sy-repid.
        ls_log-aldate     = sy-datum.
        ls_log-altime     = sy-uzeit.
        ls_log-aldate_del = ls_log-aldate + 1.
        CALL FUNCTION 'BAL_LOG_CREATE'
             EXPORTING
                  i_s_log      = ls_log
             IMPORTING
                  e_log_handle = pfx_log_hndl
             EXCEPTIONS
                  OTHERS       = 1.
        IF ( sy-subrc NE 0 ).
          MESSAGE ID      sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH    sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING error.
        ENDIF.
      ENDMETHOD.
    CLASS gcl_applog_temp DEFINITION INHERITING FROM gacl_applog.
      PUBLIC SECTION.
        DATA: log_hndl   TYPE balloghndl READ-ONLY
            , t_log_hndl TYPE bal_t_logh READ-ONLY
        METHODS: constructor
                   IMPORTING  pf_obj       TYPE balobj_d
                              pf_subobj    TYPE balsubobj
                              pf_extnumber TYPE string
                   EXCEPTIONS error
               , msg_add      REDEFINITION
               , display      REDEFINITION
    ENDCLASS.
    CLASS gcl_applog_temp IMPLEMENTATION.
      METHOD constructor.
        CALL METHOD create_new_a
               EXPORTING  pf_obj       = pf_obj
                          pf_subobj    = pf_subobj
                          pf_extnumber = pf_extnumber
               IMPORTING  pfx_log_hndl = log_hndl.
        IF ( sy-subrc NE 0 ).
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING error.
        ENDIF.
      ENDMETHOD.
    A public method of Super class has been called from the constructor of the sub class. we are getting the syntax error :
    ' In the constructor method, you can only access instance attributes, instance methods, or "ME" after calling the constructor of the superclass…'
    Can you please suggest how to change the code with out affecting the functioanlity.
    Thank you ,
    Lakshmi.

    Hi,
    Call that method by instance of Subclass.   OR
    SUPER-->method.
    Read very useful document
    Constructors
    Constructors are special methods that cannot be called using CALL METHOD. Instead, they are called automatically by the system to set the starting state of a new object or class. There are two types of constructors - instance constructors and static constructors. Constructors are methods with a predefined name. To use them, you must declare them explicitly in the class.
    The instance constructor of a class is the predefined instance method CONSTRUCTOR. You declare it in the public section as follows:
    METHODS CONSTRUCTOR
            IMPORTING.. [VALUE(]<ii>[)] TYPE type [OPTIONAL]..
            EXCEPTIONS.. <ei>.
    and implement it in the implementation section like any other method. The system calls the instance constructor once for each instance of the class, directly after the object has been created in the CREATE OBJECT statement. You can pass the input parameters of the instance constructor and handle its exceptions using the EXPORTING and EXCEPTIONS additions in the CREATE OBJECT statement.
    The static constructor of a class is the predefined static method CLASS_CONSTRUCTOR. You declare it in the public section as follows:
    CLASS-METHODS CLASS_CONSTRUCTOR.
    and implement it in the implementation section like any other method. The static constructor has no parameters. The system calls the static constructor once for each class, before the class is accessed for the first time. The static constructor cannot therefore access the components of its own class.
    Pls. reward if useful....

  • Error while accessing a public method of applet from javascript.

    Hi,
    I am getting "Object doesn't support this property or method" error
    when accessing a public method of applet from javascript in IE 6 using
    document.applets[0].myMethod();
    The same is working in IE 7.
    Thanks in advance.
    Regards,
    Phanikanth

    I don't know why it happens, but this works for me in both versions:
    <applet ..... name="MyApplet">
    </applet>and in javascript use
    document.MyApplet.myMethod()

  • HT201250 Can I include external drives to be backed up using Time Machine.  Not only do I want to back up my IMac, but I have several extenal drives for one iPhoto, one iTunes and one for other files & documents.

    Can I include external drives to be backed up using Time Machine?  Not only do I want to back up my IMac, but I have several extenal drives for one iPhoto, one iTunes and one for other files & documents.  How do I know if they are included in the backup process?

    Yes, if they are not exclude then TM backs them up.
    Allan

  • Error when calling a Webservice's public method in Forms10g

    Hi,
    I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3
    java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException
    java.security.PrivilegedActionException javax.xml.soap.SOAPException
    Message send failed javax.net.ssl.SSLException SSL handshake failed X509CertChI have added the Jar containing the client proxy in both Classpaths(system variable and default.env), the jar has been made with jdk 1.4
    I also have tested the client proxy from jDeveloper and it's working there, but in Forms i'm getting this error.
    I guess my problem might be that i'm calling a webservice that is secured since the url starts with https
    what should i do to fix this ??
    Regards
    Carlos

    I understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
    I do not know how they achieve it. I know that they work without a client DC.
    Cheers,
    PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
    The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
    Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
    Edited by: Prabodh on Dec 5, 2012 8:36 PM

  • Calling Public Method in OOP.

    Hello All,
    How to call a Public method in one using the object of the other class.
    The second class doesn't inherit the first class.
    Thanx and Regards,
    SampathKumar.

    Got the solution.

  • Accessing a private variable from a public method of the same class

    can anyone please tell me how to access a private variable, declared in a private method from a public method of the same class?
    here is the code, i'm trying to get the variable int[][][] grids.
    public static int[][] generateS(boolean[][] constraints)
      private static int[][][] sudokuGrids()
        int[][][] grids; // array of arrays!
        grids = new int[][][]
        {

    Are you sure that you want to have everything static here? You're possibly throwing away all the object-oriented goodness that java has to offer.
    Anyway, it seems to me that you can't get to that variable because it is buried within a method -- think scoping rules. I think that if you want to get at that variable your program design may be under the weather and may benefit from a significant refactoring in an OOP-manner.
    If you need more specific help, then ask away, but give us more information please about what you are trying to accomplish here and how you want to do this. Good luck.
    Pete
    Edited by: petes1234 on Nov 16, 2007 7:51 PM

  • Accessing a public method from javascript in an applet!!!

    Hi!!
    I'm have an applet (named say applet.class) in an html page that has a public method like this....
    public void doShowFrame()
              Frame frame = new frame();
         frame.setVisible (true);
    What I want to do is to call that method with javascript, I've tried to do it like this...
    function show(){
    applet.doShowFrame();
    But when i press the button that launch the java scipt the browser says
    'applet' is unidentified...
    What's wrong, what can I do??

    http://www.google.com/search?q=applet+javascript+communication&sourceid=opera&num=0&ie=utf-8&oe=utf-8
    how hard was that? seriously.

  • Can i include external usb drives in Time Machine backups

    Can I include external usb drives and sticks in Time Machine backups?
    This was the question I searched a week for. My machine is a MBAir with Yosemite. I have a bunch of USB HD and sticks. This is a sharing of what it took to solve. I lost a couple of important document revisions lately because of not having differential backups on them, so wanted to include them in Time Machine.
    Yes it can, I found. But it's a wee bit backwards. And apparent inconsistencies drive you crazy. Time Machine is supposed to do this by default, and wants you to tell it what NOT to include. Trouble is, formats create many troubles.
    But the USB sticks and HD's you buy are PC formatted. And you'd like to share, as the Apple does with FAT16, FAT32, and exFAT (to overcome the 4G size limit on the others). Even NTFS can be plugged in and be read-only. Turns out you just can't incorporate into TM backups.
    Open Time Machine Options, and look at the drives listed in the exclusion window. Drives that you know to be plugged in and registered by Finder, may or not be registered in the exclusion window, and if registered and their icons may be bright or dimmed. Bright will NOT be included. Dimmed are excluded. Normally the operation is to use the or to exclude these drives from your next BU operation. (this instruction is lost the next time in manual mode). So if a drive or stick is shown and is bright it WON'T be backed up. If you it from the window, then it will grey out and WILL be backed up. If it's not there to offer you exclusion, you can browse to such a file or device so you can exclude it. TM's exclusion window will show the PC formats: FAT16, FAT32, and exFAT greyed out (as not included). NTFS is bright looking like it might work, but when    doesn't dim, it disappears, and is ignored in the actual BU.
    Sources are supposed to be included in the backup if it isn't shown bright in the exclusion window. In this respect I only use TM manually, and not for programmed BU's, so I cannot speak to that.
    If everything you have is formatted for the Apple disc system (Mac OS Extended) then there are no contradictions or partial equivalences. The mounted disc or stick will show in TM exclusions window, and if you it, you'll see it in the Time Machine pile of calendared directories, with all the files. And of course it will do the differential backups for it that we use TM for in the first place. Just remember to prepare the BU by not excluding.
    BUT NOW THE VARIABLES. It now depends upon the formats. I use the Paragon NTFS program to permit writing NTFS. (Apple can normally read but not write NTFS). Paragon is lovely because for normal computer use, I can read and write both Apple and PC files and disc formats in Finder (for 3 years now). But Time Machine cannot be reached by Paragon so it's NTFS behaviors are outrageous. Paragon reaches Disk Doctor so you can read, write, format and heal both Apple and PC formats. And this really confused things respecting Time Machine. I literally worked through every variable, from stick to disc to prove what did work, and when false appearances of working showed up.
    Respecting that very Time Machine display of Finder windows piled backwards through time there's a confusing bug. When first opened, TM shows NOW as the current setup and works just like a Finder window in present time. And the outboard discs and sticks show as in Finder. BUT working back in time, the left window DOES NOT SHOW THE CONDITIONS AT BACKUP but rather in all left windows shows the present setup. So you need to work from the right hand side dates and times to go back and see when you had that stick or HD plugged in. And then, finally, you will see the files you wanted saved. But if there is a stick on the left than TM doesn't like but Finder likes you'll see it left but nothing will be in the files. Clicking on the pretender just jumps to the root.
    My Disk Doctor provisions (with Paragon) show, Mac OS Extended (Journaled), Mac OS Extended (Case Sensitive Journaled), MS-DOS (FAT), exFAT, Windows NT Filesystem, Windows NT Filesystem (compressed). It's a better utility than in Microsoft and I use it for such maintenance.
    Bottom line, I like TM very much. 2 years ago I lost my air and TM was able to reconstruct my machine many times in the course of the troubleshooting - all the way from the start to the last without ever missing a beat or a file. So I accept this limitation and make copies to another HD formatted in NTFS when I work on PCs.
    Hope's this sorts out being lost in the desert for a few of you.
    Jock
    <Personal Information Edited by Host>

    Storing normal data files on the Time Capsule is unfortunately not as easy as dropping the folder on the Time Capsule.
    Open up Macintosh HD on the Mac
    Look for the SHARED heading on the left
    Click on the Time Capsule icon and a folder named "Data" will appear (unless you have renamed it)
    Double click the "Data" folder to mount the drive on the desktop. You may need to enter the device password for the Time Capsule when you do this the first time
    Once the drive icon is on the desktop, you can drag data to the icon and drop it there. Double click the icon to open up the drive and see the files

Maybe you are looking for

  • Fact Sheet in UI CRM 7.0

    Hi I have a query, Is it possible to view factsheet in UI, instead of IC WebClient? If we want to see factsheet in UI, then how can we pass value (BP Number) to it. I think I had read in some document that Factsheet is currently not supported for UI.

  • Installing Windows 7 on Late 2013 iMac w/ Fusion Drive

    Sorry in advance for the long post, but I have tried to exhaust all possibilities, and bring as much knowledge about our environment to the table to avoid confusion. Here's our goal:  Install Mac & Windows on a Late 2013 iMac with a 1TB Fusion Drive

  • Dolby Digital Auto Setting Doesn't Work w/4.4.2?

    I have a bunch of old movies that were recorded in stereo, pre-Dolby, and of course, a bunch of newer in Dolby Digital.  After upgrading to Apple TV iOS 4.4.2 yesterday, I now find that the Settings/Audio & Video/Dolby Digital/Auto setting no longer

  • How do I change the pop up menu for right click to Tools?

    Hi, I generally know my way around Photoshop but for some reason this has me stumped. When I right click on the image I'm working in (using my Cintique pen button) I get the Brushes panel as a pop up. Very handy, but I hate Brushes- I much prefer Too

  • Cant run login.sql in 10.2.0.3

    using redhat linux. logging into sqlplus from the linux environment. my login.sql script does not run on login. when i try to execute it, nothing happens and i just get a new prompt. If I rename the file to login.old I can run it. I created a login.s