This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hello, background: ----------- I am working in linux. uses VXWORKS for server side. JAVA IDLs to call methods written in C (all server side is written in C). i am using java to access c codes in a server which loads some chips with a some firmware to certain types of boards. there are two different types of board that i try to program at the same time. so i am using two threads. These threads are started from a JAVA GUI. once they are started they mind their own business and do not freeze the GUI.
question: --------- i have a server side method that keeps track of the progress of each board(ex. erasing, loading, labeling, done). its a static method and has a static array. all it does is returns the status of a board when called from java.
this works just fine when one thread is run and checks for status. but when both threads are running, sometimes when both threads try to check status of a board at the same time, i get this CORBA.COMM_FAILURE error. (The two threads are trying to read the two different boards. NOT ONE BOARD!)
There is too much info here. let me explain some of it.
xftmod.FinderboardVme.FinderboardClient.flashProgramStatus: is the method used to call server side
java.lang.NoClassDefFoundError at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:13) at gov.fnal.robin.BERsequence.<init>(BERsequence.java:120) at gov.fnal.robin.rRequest.get_response(rRequest.java:381) at gov.fnal.robin.rRequest.invoke(rRequest.java:177) at xftmod.FinderboardVme.FinderboardClient.flashProgramStatus(Finderboar dClient.java:569) java.lang.ExceptionInInitializerError at org.omg.CORBA.COMM_FAILURE.<init>(COMM_FAILURE.java:13) at gov.fnal.robin.BERsequence.<init>(BERsequence.java:120) at gov.fnal.robin.rRequest.get_response(rRequest.java:381) at gov.fnal.robin.rRequest.invoke(rRequest.java:177) at xftmod.FinderCrateFlash$PerformTasks.run(FinderCrateFlash.java:1837) Caused by: java.lang.NullPointerException at org.omg.CORBA.CompletionStatus.<init>(CompletionStatus.java:23) at org.omg.CORBA.CompletionStatus.<clinit>(CompletionStatus.java:6) ... 9 more
i know this is complicated. i can try to answer and explain any question you have.