Issue with launching Java Program - Java Library Problem?

I hope this is the right forum, I apologize if it isn't. I am having issues launching a program for a video game that uses java. One of the devs told me to post my issue here, as he doesn't know how much more help he can give with this issue. Using the java -jar command, this is the printout I get:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
C:\Users\vecdran>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
C:\Users\vecdran>chdir C:\Games\Steam\Steamapps\common\Crysis\mods\mwll\actionma
pper\dist
C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>java -jar Act
ionmapper.jar
Jun 18, 2010 2:25:19 PM org.jdesktop.application.Application$1 run
*SEVERE: Application class mwllactionmapper.MWLLActionmapperApp failed to launch*
*java.lang.NullPointerException*
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
lder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
s(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
n Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
ionmapsFileModel.java:141)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
FileModel.java:160)
at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
rView.java:603)
at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
a:75)
at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
:21)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class mwllac
tionmapper.MWLLActionmapperApp failed to launch
at org.jdesktop.application.Application$1.run(Application.java:177)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
lder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
s(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
n Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
ionmapsFileModel.java:141)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
FileModel.java:160)
at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
rView.java:603)
at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
a:75)
at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
:21)
at org.jdesktop.application.Application$1.run(Application.java:171)
... 8 more
C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>As you can see, my Java is completely up to date, and this is the only program I appear to have problems launching. I have no idea what to do from here. :(
PS.
I had to add the Java path to my System -> Environmental Variables -> Path variable, as it was not there from the start, and before adding it command prompt wouldn't recognize java commands. Don't know whether this indicates anything.
Edited by: vecdran on Jun 20, 2010 11:23 AM

[Bug ID 4711700|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4711700] is eerily similar to what you're experiencing. Although the bug was reported against an older version of the JDK the last comment provides a workaround to the problem that may be helpful. Good luck.

Similar Messages

  • Hot mail is not working after firefox upgrade. I am using Firefox 12.0. I did not have issue with hotmail, but I am facing problem this week .

    I am using Firefox 12.0. I did not have issue with hotmail, but I am facing problem this week after firefox upgrade. After entering login the page freeze. I am not able to continue.
    I reviewed the thread. I am not using Foxit.
    I reviewed hot mail forum. They suggest firefox upgrade causes this issue.
    I tried after clearing my browser's cache and cookies. The situation remain same. Any idea?
    What is the workaround?

    Firefox 3.6 needs the Java Second Generation Plugin which comes with newer versions than 1.6.0_03 - update Java, the latest version is 1.6.0_22

  • The JAVA program for "Philosopher Problem"

    When I learn the book of "Operating Systems (Design and Implementation)"(written by Andrew S.Tanenbaum), I try to write a program for the "Philosopher Problem" . In the book there is a sample of this problem in C language, and I write it in JAVA. The following is my program, I have tested it. It is correct, but maybe it is not the most efficient way to solve the problem. Can you think out a more efficient program in JAVA to solve this problem?
    * Philosopher Eating Problem
    * @author mubin
    * @version 1.0
    public class PhilosopherEating {
    //Philosophers' number
    private final static int PHER_NUM = 20;
    //Philosophers' state
    private volatile static int[] pherState = new int[PHER_NUM];
    //THINKING
    private final static int THINKING = 0;
    //HUNGRY
    private final static int HUNGRY = 1;
    //EATING
    private final static int EATING = 2;
    //Philosophers thread group
    public static Philosopher[] philosophers = new Philosopher[PHER_NUM];
    //finish indicator
    public volatile static boolean finished =false;
    //thread lock
    public static Object threadLock = new Object();
    public PhilosopherEating() {
    * Philosopher class
    * @author mubin
    * @version 1.0
    public static class Philosopher extends Thread{
    int pherNo ;
    public Philosopher(int no){
    this.pherNo = no;
    public void run(){
    while(!PhilosopherEating.finished){
    think();
    takeForks(this.pherNo);
    eat();
    putForks(this.pherNo);
    * Thinking
    private void think(){
    System.out.println("Philosopher"+this.pherNo+"is thinking...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Eating
    private void eat(){
    System.out.println("Philosopher"+this.pherNo+"is eating...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Take the fork
    private void takeForks(int no){
    //System.out.println("takeForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = HUNGRY;
    testPher(no);
    * Put down the fork
    private void putForks(int no){
    //System.out.println("putForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = THINKING;
    if( pherState[getLeft()]==HUNGRY ){
    philosophers[getLeft()].interrupt();
    if( pherState[getRight()]==HUNGRY ){
    philosophers[getRight()].interrupt();
    * Return the NO. of philosopher who is sitting at the left side of this philosopher
    * @return the NO. of the left philosopher
    private int getLeft(){
    int ret = (pherNo-1)<0? PHER_NUM-1 : (pherNo-1);
    return ret;
    * Return the NO. of philosopher who is sitting at the right side of this philosopher
    * @return the NO. of the right philosopher
    private int getRight(){
    int ret = (pherNo+1)>=PHER_NUM ? 0 :(pherNo+1);
    return ret;
    private void testPher(int no){
    while(true){
    if(pherState[no]==HUNGRY
    &&pherState[getLeft()]!=EATING
    &&pherState[getRight()]!=EATING) {
    pherState[no] = EATING;
    //Print and check the philosophers' state
    printPher(pherState);
    return;
    }else{
    try {
    System.out.println(" Philosopher "+this.pherNo+"is waiting a fork");
    threadLock.wait();
    }catch (java.lang.InterruptedException ex) {
    System.out.println(" Philosopher "+this.pherNo+"is interrupted and woken up to take fork");
    //when it is interrupted, do nothing. Just let it continue!
    }//end of while(true)
    * Print and check the philosophers' state.
    * To insure there are no two philosophers sit side by side
    * are eating at the same time.
    private static void printPher(int[] phers){
    System.out.print(" philosophers' state��");
    for (int i = 0; i < phers.length; i++) {
    System.out.print(" "+phers);
    System.out.println("");
    for (int i = 0; i < phers.length-1; i++) {
    if (phers[i]==EATING && phers[i+1]==EATING){
    System.err.println(i+" and "+(i+1)+"two of philosophers sitted side by side are eating at the same time!");
    if (phers[0]==EATING && phers[PHER_NUM-1]==EATING){
    System.err.println("0 and "+PHER_NUM+"two of philosophers sitted side by side are eating at the same time!");
    public static void main(String[] args) {
    for (int i = 0; i < PHER_NUM; i++) {
    PhilosopherEating.pherState[i] = THINKING;
    PhilosopherEating aPhilosopherEating = new PhilosopherEating();
    for (int i = 0; i < PHER_NUM; i++) {
    philosophers[i] = new Philosopher(i);
    philosophers[i].start();
    try {
    Thread.sleep(30000);
    catch (InterruptedException ex) {
    ex.printStackTrace(System.out);
    //End all the threads of philosophers
    PhilosopherEating.finished = true;

    this problem is about learning how to use threads/synchronise objects etc, the efficiency of the code isn't really an issue, if that's what you mean. As for the efficiency of the solution, it's very hard to tell how efficient it is, but as long as all the philosphers get to eat there's no problem. I haven't really scrutized your code, but I'm not sure that you have a deadlock free solution: as long as it is possible for all the phils to pick up one fork at the same time there's a problem, and it seems from your code that each philosopher will pick up "his" fork. Again, I could be wrong, I haven't really looked. If you haven't come up with a solution, try drawing it on paper and working it out, or if you're lazy a quick google will probably give you the answer, but I'm pretty sure nobody here will :)

  • Safari issues with Tabs, Video, and Java

    Hi.  I updated to Lion and Safari 5.1 and did all the software updates.  I have a MacBook from 2008.  For some reason, I am having a lot of issues with Safari.  I hope someone knows what I am doing wrong.
    1.  Every time I open Safari after I turn on my computer or it wakes up from sleep, I have to do an internet test to get the computer to realize I am still connected to my house WiFi.
    2. The computer goes to sleep after 30 secs.  Can I change this somehow?
    3. I cannot open any videos from YouTube or vidoes my friends have posted on Facebook.
    4. I used to be able to drag a link over an existing tab and it would automatically go there.  Now I have to drag it to the + sign to get it to open.  (command click still works)
    5.  I tried to check my plug-ins to see if that was the problem.  I put all of my internet plug-ins in the trash and added them one by one.  Safari seemed to work a lot faster, but then as soon as it went to sleep, I had the same issues.  Also, I can't find Java anymore (not in my trash, didn't delete anything from the trash) and I did the java test on a website and it's not showing what it's supposed to.  All the software updates say it is fine, but obviously it isn't.
    I know this is a lot of stuff, and most of it is probably due to me not really understanding how my mac works.  I've been looking through the forums to see if anyone else has all of these issues; after an hour and a half of reading discussions, I gave up.  Any advice would be really appreciated.  Thank you.

    So, while waiting for some help, I've been continuing my own research. 
    3. It turned out that it wasn't Java messing with my videos.  I just needed version 10,3,181,34 of Adobe Flash and now all videos are working.   Hope that helps if anyone else was having similar issues.  Here's the link if you need to find out which version you have: http://www.adobe.com/software/flash/about/
    4.  It turns out that there are several other discussions regarding people who can't drag and drop links into Tabs on Safari.  My solution was to write to Apple to ask if they can put that feature back in.
    5. I'm not sure if I am still having Java issues, but so far everything I am needing to upload and watch is fine.
    One and two are still annoying, so I'll continue to look for solutions.  If anyone has any suggestions, I'd appreciate them.  Hope this helps someone as much as it helped me.  I don't want to throw my computer against a wall every 5 seconds now.

  • If you are facing issues with AutoVue after upgrading Java

    Oracle periodically releases security updates (CPU see Oracle Critical Patch Update - July 2014 for latest)  for all its software, Java is no exception to it.
    At every CPU, the AutoVue team monitors the impact and documents the steps required to have AutoVue working properly with your integrations
    For your reference, we attach the latest KM note here.  It is a highly recommended reading for customers using AutoVue Client/Server Deployment.
    KM Note 1615032.1 - AutoVue Client Usage with Java 7u51
    (https://support.oracle.com/epmos/faces/DocumentDisplay?id=1615032.1)
    Feel free to post any questions through this Community thread.

    Now, do you have to disconnect your printer everytime that you want to use it? If so, this is just a temporary fix and that's not something that you should have to do with regularity.
    It's GLARING, the amount of people who are having issues with this software. Is APPLE listening to its customers? I'm to the point where I'm about to NOT recommend an I-Pod to anyone that asks. If they do, that's what I'm recommending. I'll also steer them to this website so that they can see with their own eyes, the problems that everyone is having.
    This is totally ridiculous. I've been trying for THREE weeks to get my POS I-Pod Shuffle to download songs through I-Tunes 7.0. It's clear to me that these designers of this software haven't got a clue.
    Sorry for the rant but I've had it with this junk.

  • Issue with XSL transformation in Java Stored Procedure

    Hi,
    Am having issue applying XSL transformation in Java Stored procedure. I have loaded the java class as well as .XSL files through loadjava uility and their status in DB is VALID.
    Below is the code in the java stored procedure:
    public static String tranform(String strInputXML ){
    URL url = ClassLoader.getSystemClassLoader().getResource(first.xsl);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new ByteArrayInputStream (strInputXML.getBytes("UTF-8")));
    TransformerFactory tFactory = TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(url.openStream());
    Transformer transformer = tFactory.newTransformer(stylesource);
    When I run this procedure, am getting following errors:
    {color:#ff0000}*ERROR: 'No such file or directory'*
    FATAL ERROR: 'Could not compile stylesheet'{color}
    My first.xsl file has reference to other excel file (Ex: &lt;xsl:include href="second.xsl"/&gt;) which seems to be causing this error. When I remove the reference, procedure is working fine.
    Pls let me know how to resolve this and read the .XSL file with references.
    Thanks,

    Hello,
    Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
    So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
    Thanks
    Srikanth
    Edited by: user12050615 on Jan 16, 2012 12:17 AM

  • Having a weird issue with my assign after java embedding

    hi,
    I'm having a weird issue with my assign activity, i am using a Java Embedding wherin i access a variable and assign it some data, later in next step when i try to assign some other data to this same variable in assign activity i get a Error message as below.
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} parts: {{ summary=Invalid to part type. When performing the assign operation, the to node THIS,IS,,TEST is invalid. The node named in the error message was either null or an empty node set, and it was not an instance of org.w3c.Element. Verify the node value at line number 795 is not null and is an instance of org.w3c.Element. } .
    i'm using soa 11.1.1.5
    Can anyone please help ?
    - Thanks
    Shirish

    Shirish,
    It's a bug and you will need to apply a patch for that.
    You can find all explanation in Oracle Support Id ID 1194228.1.
    Arik

  • Issue with Creative Cloud program itself - Won't launch

    Hi,
    I'm having an issue with CC.
    The app is launched and it opens. I enter the email address and password. It thinks for a while and then disappears from the screen.
    The icon is there in the systray and as soon as you click on it, the applications appears again but is blank and there is a small window on top of the main with the CC logo on it but that's all.
    End task is the option to close it.
    I searched the KM and saw a reference on deleting the OOBE folder in the Users area but all this did was to force it to ask again for login details and then did the same thing.
    I've had this issue previously and I think I uninstalled the CC app and reinstalled it. This forced ALL the installed adobe programs to be redownloaded and installed again, which I'm hoping to avoid that and having to sort out all the plugins again.
    Win 8.1
    i7 quad core
    32GB ram
    Could I please get some advice so I can get my daughter in action again?
    Thanks
    Screenshot attached.

    HollyTAust removing and reinstalling the Creative Cloud Desktop application should not cause you to need to reinstall you already installed Creative Cloud Desktop application.
    If reinstalling resolved your difficulties previously then please try removing and reinstalling the Creative Cloud Desktop application.  If you then face difficulties with your Adobe applications not being listed properly please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

  • Issues with processing on 64bit (java)

    Anyone running processing (http://processing.org) on a 64bit machine?
    I'm having some issues getting it running, works fine on my 32bit system though.
    My error is:
    ./processing: line 100: /home/action-owl/dev/processing/processing-1.0.9/java/bin/java: No such file or directory
    The file does exist, and it's executable, the processing forums have been a bit quiet lately.
    Thanks

    carlosgottberg wrote:Looking at /usr/bin/processing found out that you have to symlink /usr/bin/java to /usr/share/processing/java/bin/java .
    This doesn't seem to work for me, but maybe I'm doing it wrongly... Is this close to what you meant?:
    sudo ln -s /usr/bin/java /usr/share/processing/java/bin/java

  • Issues with file path in java.io.File

    I am getting file path in eclipse plugin using org.eclipse.swt.widgets.FileDialog and saving the path in XML files.
    In web.xml , path is stored as below (I can't change backsladh to forwardslash or escape backslash since the value is coming from SWT FileDialog)
    <init-param>
    <param-name>filePath</param-name>
    <param-value>c:\new\demo\next\version.txt</param-value>
    </init-param>
    In my filter , i have below code in init() method but am not able to get File reference due to special characters
    String filePath = filterConfig.getInitParameter("filePath");
    // Tried filePath.replace('\\','/') --> Didnot work since \n is a single character
    File f = new File(path)

    No it does not. You need to escape file paths properly. You can check this with simple code and that the problem i am facing now
         public static void main(String[] args) {
              String path = Messages.getString("filePath"); //in messages.properties put filePath=c:\new\next\verison.txt
              System.out.println(path);
              File f = new File(path);
              System.out.println(f.exists());
         }

  • Can't Run Java Programs -- java.lang.NoClassDefFoundError Error

    I am running 10.4.11. For some reason I can no longer run Java programs. (I could in the past)
    For example. I create a simple Hello World program as follows and save it as Hello.java:
    class HelloWorld
    public static void main (String args[])
    System.out.println("Hello, world!");
    Then I compile it:
    Javac Hello.java
    Then I try to run it:
    java Hello
    But I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Hello
    I think it must be a CLASSPATH problem but normally you do not need to worry about ClassPATH. Apple sets it up for you out of the box.
    What is wrong?

    I totally forgot that the class name should be the same as the filename.
    After I renamed the file to HelloWorld.java and recompiled, I could run "java HelloWorld"
    Rob

  • Every time I try to run a java program: Java.lang.ClassNotFoundException?

    I downloaded the JDK version 6 successfully for my laptop which runs windows 7 (64bit). I'm trying to run programs that I have successfully run at school on my computer put it doesn't work. I pull up the command prompt and enter javac "program name".java and it compiles fine. Then, when I type java "program name" it gives me the Java.lang.ClassNotFoundException. Can anyone please help me??

    Try:
    java -cp . ClassNameNote the dot.

  • Issue with XML bursting program

    Hi All,
    We have a Oracle concurrent program which generates PDF output using XML data and RTF template. This output is sent as attachment to a designated user using XML bursting.
    The issue that we are facing is, the mail is sent to the recipients correctly when the program is run from my login. But when the same is run from anyone else’s login, the bursting program fails.
    Suppose the receiver’s email id is [email protected], the error faced is
    [oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] javax.mail.internet.AddressException: Illegal character in domain in string ``[email protected]@xyz.com''
    On examining the XML bursting program log file for successful and error runs, I could see the below property in the log file-
    For successful run: [SMTP_TO_RECIPIENTS:String] [[email protected]]
    Whereas for unsuccessful run: [SMTP_TO_RECIPIENTS:String] [[email protected]@xyz.com]
    Any pointers in this regard are highly appreciated.
    Regards,
    Kiranmayi.

    Thanks for your quick response.
    I believe the HP printer is an old one and I did have a couple of issues with it while using XML Publisher.However we've overcome those issues.
    We have installed xpdf and have been using the pdf2ps utility.We have PASTA set up and printing works fine when Bursting is not used.
    Is there some change I have to make to the configuration file/Bursting Control file to be able to use this pdf2ps utility to print to this Printer?
    Nevertheless I will also try using ipp on one of our newer printers...
    Thanks,
    Lavina

  • Big issues with swicthing videos in playlist: oldStreamName problem

    So I've built a player to play playlists and it uses my own DynamicStream class (not the abobe one). I've ran into an issue with playing the same video multiple times. In this app there will be many occassions when a video may be repeated in the playlist up to 3 times. Here's an example of the problem:
    Lets say I have 2 videos in a playlist and they are the exact same video. They both are the low birate version. The fist video dynamically swiches to different bitrates seamlesly as planned. If I fast forward the stream to the begining of the second video it starts playing and if my bandwith is ok it wants to switch to a better bitrate. It swiches but instead of being seemless it plays the second video from the begining again. So, I'm thinking this is where oldStreamName comes in. So I add the oldSteamName and make sure its correct, but the problem with that is if the same video is in playlist more than once then the transition never even happens.
    Any ideas or suggested work arounds?
    Thanks,
    Adam

    anyway to counter this problem when I switch to a diffrent stream. I close the current netstream then  I create a diffrent netstream name with "str"+new Date().time(); or whatever method you use to create a timestamp  This way the stream  will always have a unique name. Keep in mind that in the administration console it will show a bunch of netstreams but at some point in time GC should collect those streams thereby removing them from the admin console. I'm not sure about memory consumption using this method. I've just experimented with it without doing an actual load test. Please post back on your findings. I'd love to know if this is a good solution.

  • Noticed some issues with how NI DNET card handles problems

    We have
    noticed 2 issues with using the PXI NI-DNET (PXI-8461) card and Labview (8.5).
    1.  The scanner doesn’t recover from a lost of
    DNET power
    - With network
    work up and everything scanning
    - The Dnet
    DC power is turned off and then turned back on
    -  All nodes are rest from the power cycle which
    is common
    - However,
    when we try to scan the network again, Labview faults with can’t initialize card
    I believe
    - No nodes
    restart
    The DNET
    card seems to not be monitoring the network DC power and releasing the handles
    and/or trying to rescan the attached nodes.
    Work
    around: Restart the PXI or in Max, remove and reinstall DNET card
    The work around are not a good solution.  Is there another solution and why isn't the card restarting. 
    2.  When Labview locks up, the DNET card keeps
    scanning.  When this happens the last
    setpoints are still being sent.  This can
    be a problem if a heating is being controlled.  
     No work around
    Is there any watch dog for this issue?

    Howdy Olaje,
    I think I've found a solution for your first question.  Take a look at this Discussion Forum and see if it does the trick.  However, I need a bit more information about your second question.  I'm curious about the specifics of how LabVIEW "locks up".  Is this a permanent crash or does it just freeze for a few minutes while control is transfered to another process?  Also, what is the context of the lock up?  Thanks for answering these follow up questions, I look forward to the response!
    Sincerely,
    Chris G in AE

Maybe you are looking for