Trivial debugging :o|

Hello folks! I am writing a piece of code that takes a .wav file, encoded with 16 bits/sample, and has to perform a "thersholding" operation in these samples. That is, that groups of samples that don't have enough mean energy, shall not be included in the new .wav file that will contain the thresholded sample (the whole process is a short of compression).
The problem is, that for some reason I haven't discovered yet, only half of the bytes of the original file are found in the final file! (But, the thresholding mechanism works well in these half samples :P)
Could you please check on my code? 15 javies for the one who gives me a solution! :)
Here goes my code...

// 16bits/sample
// line 47 -> input .wav file
import java.io.*;
import javax.sound.sampled.*;
public class thresholding16 {
    public thresholding16() {
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
    AudioFormat audioFormat;
  AudioInputStream audioInputStream;
  //initial samples from File
  byte buffer[] = new byte[10000000];
  //thresholded samples ->to be written in a new File
  byte newBuffer[] = new byte[10000000];
  //the initial 2-byte samples will be represented as an integer (by merging the MSB,LSB of the sample)
  int intArray[]=new int[5000000];
  //mean energy of samples for every one of the 200000 groups of  25 samples
  double energyArray[] = new double[200000];
public static void main(String args[]){
   try{
   thresholding16 thres=new thresholding16();
   thres.moveToBuffer();
    catch(Exception x){
     System.out.println(x);
  void moveToBuffer() {
    int cnt=0;
    try{
      File soundFile =
                   new File("aFile0.wav");  //to arxeio eisodou pou 8a 'katwfliw8ei'
      audioInputStream = AudioSystem.
                  getAudioInputStream(soundFile);
      audioFormat = audioInputStream.getFormat();
      System.out.println(audioFormat);
for(int h=0;h<10000000;h++){
    buffer[h]=0;
      while((cnt = audioInputStream.read(buffer,0,buffer.length)) != -1){
      System.out.println("Ta arxika deigmata ws bytes");
      for(int j=0;j<10000;j++){
      System.out.println(j+" "+buffer[j]);
    FileWriter fistream = new FileWriter("16bitArxika.txt");
    BufferedWriter outi = new BufferedWriter(fistream);
    outi.write("Ta arxika deigmata ws bytes"+"\r\n");
    for(int j=0;j<10000;j++){
        outi.write(buffer[j]+"\r\n");
    //Close the output stream
    outi.close();
//merge the 2 bytes of a sample int one integer
     for(int j=0;j<5000000;j++){
       int num=0;
       int msb=0;
       int lsb=0;
       msb=buffer[j*2+1];
       lsb=buffer[j*2];
      int h=buffer[j*2+1];
       if (h<0){
         num=msb&lsb;
       else{
       num=msb^lsb;
   intArray[j]=num;
     }//end for
     FileWriter fistream = new FileWriter("16bitArxika.txt");
       BufferedWriter outi = new BufferedWriter(fistream);
       outi.write("Ta arxika deigmata ws bytes"+"\r\n");
       for(int j=0;j<200000;j++){
           outi.write(intArray[j]+" ");
       //Close the output stream
       outi.close();
System.out.println("Ena deigma -> enas integer");
for(int j=0;j<500;j++){
System.out.println(j+" "+intArray[j]);
   for(int i=0;i<200000;i++){
     energyArray=0;
//Mean energy estimated from the type //&#917;=10log(&#949;+1/&#925;&#931;S^2(n))
for(int i=0;i<200000;i++){
for(int j=0;j<25;j++){
energyArray[i]=energyArray[i]+intArray[i*25+j]*intArray[i*25+j];
// System.out.println("Mesh Energeia ana omada");
for(int i=0;i<200000;i++){
double h=0;
h=Math.log(energyArray[i]/25+000000.1)/Math.log(10);
energyArray[i]=h;
//auxiliary array that tells which groups of bytes pass and //which do not
int booleanArray[] = new int[200000];
for(int j=0;j<200000;j++){
booleanArray[j]=0;
if (energyArray[j]>2.1){   //the wanted threshold
booleanArray[j]=1;
for(int i=0;i<10000000;i++){
newBuffer[i]=buffer[i];
//I put 0 to the proper positions, depending on whether the //groups of bytes has passed the thresholding operation
for(int i=0;i<200000;i++){
if(booleanArray[i]==0){
for(int j=0;j<25;j++){
newBuffer[i*25+j*2]=0; // 0 at MSB
for(int j=1;j<26;j++){
newBuffer[i * 25 + j * 2 - 1] = 0; // 0 at LSB
FileWriter fstream = new FileWriter("16bitDeigmataKatwfliwmena.txt");
BufferedWriter out = new BufferedWriter(fstream);
out.write("Ta telika deigmata ws bytes"+"\r\n");
for(int j=0;j<10000000;j++){
out.write(newBuffer[j]+"\r\n");
//Close the output stream
out.close();
//the new .wav file
ByteArrayInputStream bis=new ByteArrayInputStream(newBuffer);
AudioInputStream ais=new AudioInputStream(bis,audioFormat,newBuffer.length/audioFormat.getFrameSize());
int cnt2;
cnt2 = audio system.write(ais,AudioFileFormat.Type.WAVE,new File("aFile0Thres.wav"));
System.out.println(" "+cnt2);
catch (Exception e) {
}//end of method moveToBuffer
private void jbInit() throws Exception {
}//end of class thresholding16

Similar Messages

  • Partial Audio Missing on Blu Ray Disc

    I have a project that is approximately 90 minutes that was created in Premiere CC.  When I burn a Blu Ray disc for this project using Encore CS6, and subsequently play the disc in a Blu Ray player, the last 4-5 minutes of audio is missing.  It plays perfectly all the way through in Encore when I watch it in the monitor, and if I play the audio file separately on my computer, the entire thing is there.  I don't understand what could possibly cause this issue.  No matter how I transcode, MPEG2, H.264, etc. it still has the issue during playback on a Blu Ray device.  Any suggestions?

    Regarding Encore building a Blu Ray disc and having the audio quit part way through the video, I also have experienced that nasty problem.
    From reading the Ray Tisdale postings on this issue, I discover that I had a similar problem, and have discovered a resolution which I wanted to share, to help others experiencing this mystery (which I have no doubt there are).
    My project is 15 chapters of story, one hour 10 minutes total, a documentary, developed in chapters using Permier Pro in CS6. These were developed separately, exported to files separately, imported into Encore, then placed in sequence on a single timeline. This is how I am accustomed to doing it, having recently migrated to CS6 from Sony Vegas Pro 12.0/DVD Architect 6.0 (If DVD Architect did not blast the image resolution down to approximately VHS when producing DVDs, I would still be using it). The project in question was originally developed using Sony Vegas, but I could not get image quality up to decent standards (two years of messing around, debugging, dealing with tech support, and etc.), so I ported the entire video image for image and word for word to CS6, essentially manually remaking the entire video for the second time (a six month part time effort).
    Reading Ray Tinsdale's post gave me the clue as to what might be happening with my project. As a BD I would experience full program operation when Previewing and when burning a DVD, but a Blu Ray build would make a disc that started off fine - three complex menus with music and the first chapter working fine (audio and video) but part way throuigh the second chapter the audio just quit and stayed missing for the remainder of the video (images were fine, full BD resolution).
    No amount of effort would resolve the problem. Besides trying multiple changes - such as synchronizing file format of all audio, and innumerable other attempts at guessing the cause - this (requiring about two days of my time) included taking a brand new Solid State Drive, installing Windows 7 from distribution disc, installing all computer drivers, and only software necessary to run CS6 (including Encore), update windows (192 updates) and CS6, and all other software, and protect from internet virus (etc.). A computer as fresh new as it could be from the factory still produced the same problem when Encore made a BD disc. This effort narrowed the problem down to being an Encore problem. P.S. I had done the same with Vegas Pro to determine the image resolution was an internal Vegas problem, not my use of the program or details/settings of my project.
    On reading Ray Tisdale's resolution I revised my project to have 17 timelines (including two others besides my 15 story chapters - such as splash screen and etc.). Timelines are linked as necessary to play as if the chapters were sequentially placed on one timeline. After some brief and trivial debugging using the check project function, I rendered to a folder - discovering that the audio was not missing, although I was unable to get it to play as a BD disc from the folder. With this success I burned a BD disc and now I have a BD video with audio from start to finish.
    Although I now have a working video with audio start to finish (as I designed my documentary), there is an annoying pause between chapters as the BD player shifts between files (each chapter/timeline is built into a separete file and linked as specified). From my DVD Architect experience I know that the only resolution to this (pause between chapters when playing on DVD or BD player) is to produce a single rendered output file combinining all chapters in Premier Pro, then to render it as a single huge output file (requiring an equally huge amount of time - this was 12 hours with Vegas Pro, and I have not yet tried it using PP). When the single huge output file is imported into Encore and placed on one timeline chapter markers are inserted at appropriate points, so that navigation menus can function as designed.
    Now, I suppose that I am better off than with Sony Vegas. Both have extraordinarily annoying and mysterious deficiencies and bugs (which the program vendors will not admit) and extraordinarily annoying problems. But at least with CS6 I get good quality video images.

  • Interfaces + casting problem

    ok, so i have a class Student that goes like
    import java.util.*;
    interface Copyable extends Cloneable {
         public Object clone();
         public String toString();
    public class Student implements Copyable {
         private String iName = "";
         private Student iMentor = null;
         private boolean isClone = false;
         public void setName (String name) {
              iName = name;
         public Student() {}
         public Student(String name, Student mentor) {
              iName = name;
              iMentor = mentor;
            //more code here
    }i also have a class Demo that contains the following:
    interface CopyListener {
         public void copyAdded(Copyable obj);
    public class Demo implements CopyListener {
         public void copyAdded(Copyable obj) {
              System.out.println("Added " + obj.toString());
         public static void main(String[] args) {
              Demo demo1 = new Demo();
              Demo demo2 = new Demo();
              ArrayListWrapper wrapper = new ArrayListWrapper();
              wrapper.addListener(demo1);
              wrapper.addListener(demo2);
              Student mentor = new Student("Mentor", null);
              Student std1 = new Student("Student1", mentor);
              Student std2 = new Student("Student2", mentor);
              Student std3 = new Student("Student3", mentor);
              wrapper.add(std1);
              wrapper.add(std2);
              wrapper.add(std3);
              Student std4 = new Student("Student3", mentor);
              wrapper.add(std4);
              wrapper.show();
    }the last class is ArrayListWrapper.
    it goes like
    import java.util.*;
    public class ArrayListWrapper {
         private CopyListener[] iListeners = new CopyListener[20];
         private ArrayList iArrayList = new ArrayList();
         public ArrayListWrapper() {}
         public void addListener (CopyListener listener) {
              boolean added = false;
              for (int i = 0; i < iListeners.length; i++ ) {
                   if (iListeners[i] == null) {
                        iListeners[i] = listener;
                        added = true;
                        break;
         public void add(Copyable obj) {
              if(!iArrayList.contains(obj)) {
                   Object objClone = obj.clone();
                   if(objClone != null){
                        iArrayList.add(objClone);
                        for (int i = 0; i < iListeners.length; i++ ) {
                             iListeners.copyAdded((Copyable)objClone);
         public void show() {
              for (int i = 0; i < iArrayList.size(); i++ ) {
                   iArrayList.get(i).toString();
    it all compiles, but i get a runtime error:
    Exception in thread "main" java.lang.NullPointerException
            at ArrayListWrapper.add(ArrayListWrapper.java:30)
            at Demo.main(Demo.java:23)line 30 in ArrayListWrapper is
    iListeners[i].copyAdded((Copyable)objClone);
    and line 23 in Demo
    wrapper.add(std1);
    which i guess are a part of one and same problem/error.
    really not sure how to fix it, though

    Well, what do you think the problem is? I've substituted j for i, for clarity.
    Exception in thread "main" java.lang.NullPointerException
    at ArrayListWrapper.add(ArrayListWrapper.java:30)
    at Demo.main(Demo.java:23)
    line 30 in ArrayListWrapper is
    iListeners[j].copyAdded((Copyable)objClone);
    What could possibly cause a NullPointerException on this line? Can you think of any ways to figure out what is null here at runtime? And why, oh why, are so many people incapable of the most trivial debugging?
    grumble

  • Purpose of debug class and limits in pipelinesession

    Hi
    What is the purpose of debug class(com.bea.p13n.util.debug.Debug)? I found
    it in an InputProcessor. Also I am unable to find the javadocs for it.
    My next question may seem trivial, but is there any limitation to the number
    of attributes that can be set in the pipelinesession object or something like
    that?
    Thanks,
    Raghu

    Hi Raghu,
    I think those are internal java classes used by the portal server. To your next
    question, i am not aware of any limitation on the number of pipeline attributes.
    Regards
    Syed
    "Raghu V.N" <[email protected]> wrote:
    >
    Hi
    What is the purpose of debug class(com.bea.p13n.util.debug.Debug)?
    I found
    it in an InputProcessor. Also I am unable to find the javadocs for it.
    My next question may seem trivial, but is there any limitation
    to the number
    of attributes that can be set in the pipelinesession object or something
    like
    that?
    Thanks,
    Raghu

  • What is the easiest tool to debug an SQL script in Oracle XE environment?

    I try to run a simple sql script that creates tables with their keys on Oracle XE. When it runs into bunch errors, I have difficult time to locate the mistake. One of the reason is, I don't know how to view the script in color that distinguishes the syntax like virtual C++ editor treats their text code.
    Can XE do this? If not, is there any easier way to debug a script in its environment?
    Much appreciated. Pardon for the triviality nature of the question.

    [PL/SQL Developer|http://www.allroundautomations.com/plsqldev.html] lets you step through a SQL*Plus-style script one command at a time.
    SQL*Plus (Oracle's very basic command-line tool) has [WHENEVER OSERROR|http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12051.htm] and [WHENEVER SQLERROR|http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12052.htm] settings that make it jump out of the script on OS or database failure, but that's about it. Other tools such as PL/SQL Developer, SQL Developer and (if you must) TOAD attempt to emulate SQL*Plus commands to some extent but you'd have to check the documentation to see what commands they support.
    Scripts aren't a compiled programming language like C++ or PL/SQL so there is no interactive debugger.

  • Debugging issue with WPF

    Hello,
      I am trying to debug some of my code for a set of WPF buttons.   I am stuck with an issue that I cannot get around.  When I launch the debugger from Visual Studio 2013, I get the following in the web browser:
    An error occurred in the application you were using
    You can try the following:
    Restart the application.
    Click the "More Information" link below for
    details about this error.
    Less Information
    <textarea cols="1" id="errorInfo" readonly="readonly" rows="1" style="width:752px;height:650px;display:block;" wrap="off">Startup URI: \\mrm2inc.com\Users\Michael.Mastro2\Documents\Visual
    Studio 2013\Projects\HomeInventoryWebForms\HomeInventoryWebForms\bin\Debug\HomeInventoryWebForms.xbap Application Identity: file://mrm2inc.com/Users/Michael.Mastro2/Documents/Visual%20Studio%202013/Projects/HomeInventoryWebForms/HomeInventoryWebForms/bin/Debug/HomeInventoryWebForms.xbap#HomeInventoryWebForms.xbap,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=fc075058c6cf26e0, processorArchitecture=msil/HomeInventoryWebForms.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fc075058c6cf26e0, processorArchitecture=msil, type=win32 System.Security.Policy.PolicyException:
    Execution permission cannot be acquired. at System.Runtime.Hosting.ApplicationActivator.CreateInstanceHelper(AppDomainSetup adSetup) at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
    at System.Windows.Interop.PresentationApplicationActivator.CreateInstance(ActivationContext actCtx) at System.Activator.CreateInstance(ActivationContext activationContext) at System.Windows.Interop.ApplicationLauncherXappDebug.Initialize() at System.Windows.Interop.DocObjHost.MS.Internal.AppModel.IBrowserHostServices.Run(String
    path, String fragment, MimeType mime, String debugSecurityZoneURL, String applicationId, Object streamContainer, Object ucomLoadIStream, HostingFlags hostingFlags, INativeProgressPage nativeProgressPage, String progressAssemblyName, String progressClassName,
    String errorAssemblyName, String errorClassName, IHostBrowser hostBrowser) ----------------------- PresentationHost.exe v4.0.41210.0 built by: Main - C:\Windows\SysWOW64\PresentationHost.exe ntdll.dll v6.3.9600.17031 (winblue_gdr.140221-1952) - C:\Windows\SYSTEM32\ntdll.dll
    KERNEL32.DLL v6.3.9600.17031 (winblue_gdr.140221-1952) - C:\Windows\SYSTEM32\KERNEL32.DLL KERNELBASE.dll v6.3.9600.17031 (winblue_gdr.140221-1952) - C:\Windows\SYSTEM32\KERNELBASE.dll ADVAPI32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ADVAPI32.dll
    USER32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\USER32.dll msvcrt.dll v7.0.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\msvcrt.dll ole32.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\ole32.dll OLEAUT32.dll
    v6.3.9600.17415 - C:\Windows\SYSTEM32\OLEAUT32.dll mscoree.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\mscoree.dll SHLWAPI.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\SHLWAPI.dll WININET.dll v11.00.9600.16384
    (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\WININET.dll urlmon.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\urlmon.dll SHELL32.dll v6.3.9600.17031 (winblue_gdr.140221-1952) - C:\Windows\SYSTEM32\SHELL32.dll sechost.dll v6.3.9600.16384
    (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\sechost.dll RPCRT4.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\RPCRT4.dll GDI32.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\GDI32.dll combase.dll v6.3.9600.16384
    (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\combase.dll iertutil.dll v11.00.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\iertutil.dll USERENV.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\USERENV.dll SspiCli.dll v6.3.9600.17415
    (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\SspiCli.dll profapi.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\profapi.dll CRYPTBASE.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\CRYPTBASE.dll bcryptPrimitives.dll
    v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\bcryptPrimitives.dll IMM32.DLL v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\system32\IMM32.DLL MSCTF.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\MSCTF.dll shcore.dll
    v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\shcore.dll PresentationHost_v0400.dll v4.0.30319.33440 built by: FX45W81RTMREL - C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationHost_v0400.dll MSVCR120_CLR0400.dll v12.00.51670.34230
    built by: FX452RTMGDR - C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll VERSION.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\VERSION.dll PSAPI.DLL v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\PSAPI.DLL kernel.appcore.dll v6.3.9600.17415
    (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\kernel.appcore.dll uxtheme.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\uxtheme.dll ltc_help32-91954.dll v1, 0, 0, 1 - C:\PROGRA~2\Raptr\ltc_help32-91954.dll WINTRUST.dll v6.3.9600.17415
    (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\WINTRUST.dll CRYPT32.dll v6.3.9600.16431 (winblue_gdr.131015-2301) - C:\Windows\SYSTEM32\CRYPT32.dll MSASN1.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\MSASN1.dll clbcatq.dll v2001.12.10530.17415
    (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\clbcatq.dll CRYPTSP.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\CRYPTSP.dll rsaenh.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\rsaenh.dll bcrypt.dll v6.3.9600.16384
    (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\bcrypt.dll ieproxy.dll v11.00.9600.17496 (winblue_r5.141121-1500) - C:\Program Files (x86)\Internet Explorer\ieproxy.dll PROPSYS.dll v7.00.9600.17031 (winblue_gdr.140221-1952) - C:\Windows\SYSTEM32\PROPSYS.dll
    dfshim.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\dfshim.dll mscoreei.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll clr.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    Secur32.dll v6.3.9600.17415 (winblue_r4.141028-1500) - C:\Windows\SYSTEM32\Secur32.dll dwmapi.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\system32\dwmapi.dll msxml3.dll v8.110.9600.17415 - C:\Windows\System32\msxml3.dll actxprxy.dll v6.3.9600.17416
    (winblue_r4.141030-1500) - C:\Windows\SYSTEM32\actxprxy.dll sxs.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\sxs.dll PresentationHostProxy.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\PresentationHostProxy.dll
    comctl32.dll v6.10 (winblue_rtm.130821-1623) - C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17415_none_a9ed7f470139b3c1\comctl32.dll mscorlib.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\d03a3ddcd6a395878751c5e90fa16915\mscorlib.ni.dll
    System.ni.dll v4.0.30319.34239 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System\1a6b5095c4416a37f9ca4cf4436d1311\System.ni.dll WindowsBase.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\WindowsBase\bb26d987467eca70ebc4beec29158d67\WindowsBase.ni.dll
    PresentationCore.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\PresentationCore\24f6c80242420a1cea5cc254bf420027\PresentationCore.ni.dll PresentationFramework.ni.dll v4.0.30319.34209 - C:\Windows\assembly\NativeImages_v4.0.30319_32\Presentatio5ae0f00f#\4136b9a7a05c8f0e2c7e15600bc20b1b\PresentationFramework.ni.dll
    dwrite.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\dwrite.dll wpfgfx_v0400.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll PresentationNative_v0400.dll v4.0.30319.33440
    built by: FX45W81RTMREL - C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\PresentationNative_v0400.dll System.Xaml.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xaml\d626184834dde3f4906aff139d4e5bbf\System.Xaml.ni.dll
    clrjit.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll System.Xml.ni.dll v4.0.30319.34230 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Xml\9a349fb029581f4752d2c6cfcfeab816\System.Xml.ni.dll
    System.Drawing.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Drawing\d91798a9a9fcb450351fe8e49026a69f\System.Drawing.ni.dll System.Windows.Forms.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\a4d2243df4af8ab65ff74d436d449789\System.Windows.Forms.ni.dll
    System.Security.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Security\d72f65a6622be86134ba8c534acc10e5\System.Security.ni.dll System.Core.ni.dll v4.0.30319.34209 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Core\794a3d83e77a53d6fc029c389f9cc408\System.Core.ni.dll
    System.Deployment.ni.dll v4.0.30319.34243 built by: FX452RTMGDR - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Deployment\84fa9fa9c4be29612f8d268246a0353c\System.Deployment.ni.dll System.Configuration.ni.dll v4.0.30319.34209 built by: FX452RTMGDR
    - C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Configuration\b5b80f1284dfa1b883da48ed58ecbc47\System.Configuration.ni.dll gpapi.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\gpapi.dll ncrypt.dll v6.3.9600.16384 (winblue_rtm.130821-1623)
    - C:\Windows\SYSTEM32\ncrypt.dll NTASN1.dll v6.3.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\SYSTEM32\NTASN1.dll diasymreader.dll v12.0.20806.33440 built by: FX45W81RTMREL - C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll uiautomationcore.dll
    v7.2.9600.16384 (winblue_rtm.130821-1623) - C:\Windows\System32\uiautomationcore.dll </textarea>
    Anyone have any ideas how to get around this issue, or fix the issue?
    Michael R. Mastro II

    You need to be able to debug your code.
    This is a key ability.
    So key that this is the first thing you should be thinking about with any development ( which isn't trivial. ).
    Work out how to debug your application.
    Stick break points in there and explore what is going on.
    https://nirajrules.wordpress.com/2008/06/11/debugging-an-xbap-wcf-application-%E2%80%93-windows-vista-vsnet-2008/
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • Simple ejb project fails to run but debugs OK

    OK, here's my first foray into the world of EJB3:
    It's trivial to be sure.
    ==== SessionBean.java===
    package sess;
    import javax.ejb.Stateless;
    @Stateless
    public class SessionBean implements SessionRemote, SessionLocal {
        public String hello(String world) {
            String val = "hello " + world;
            System.out.println("bean says: " + val);   
            return val;
    }=====SessionRemote.java====
    package sess;
    import javax.ejb.Remote;
    @Remote
    public interface SessionRemote {   
        String hello(String world);
    }and the grande application is this:
    =====Main.java====
    package toyproj;
    import javax.ejb.EJB;
    import sess.SessionRemote;
    public class Main {
        @EJB
        static private SessionRemote sess;
        public static void main(String[] args) {
            System.out.println(sess.hello("world"));
    }I've done all this in Netbeans 6.1 and I can deploy the session bean OK. Now here's the rub: The "application client" gets a NullPointerException as if the session object didn't get injected at all. If I run it in "debug mode", it runs OK though.
    Have I made an obvious mistake?

    yeah, it's bizarre. I just re-created a brand new project with same contents on a different computer (at home now) and get the same result. I feel i'm missing something simple! Forgot to say, it's GlassFish 2.1 and Java 1.6.
    anyway here's the appclient output with stack trace:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    dist:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    Building jar: /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    dist:
    pre-run-deploy:
    Redeploying /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    Start registering the project's server resources
    Finished registering server resources
    While redeploying, trying to stop the application in target server  completed successfully
    While redeploying, trying to remove reference for application in target server  completed successfully
    deployment started : 0%
    deployment finished : 100%
    Deploying application in domain completed successfully
    Trying to create reference for application in target server  completed successfully
    Trying to start application in target server  completed successfully
    Deployment of application ToyProject-app-client  completed successfully
    All operations completed successfully
    Enable of ToyProject-app-client in target server completed successfully
    Enable of application in all targets  completed successfully
    All operations completed successfully
    post-run-deploy:
    run-deploy:
    Copying 1 file to /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist
    run-tool:
    24-Jul-2008 19:33:10 com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNING: ACC003: Application threw an exception.
    java.lang.NullPointerException
            at toyproject.Main.main(Main.java:8)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
            at com.sun.enterprise.appclient.Main.main(Main.java:200)
    Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:461)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
            at com.sun.enterprise.appclient.Main.main(Main.java:200)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
            ... 2 more
    Caused by: java.lang.NullPointerException
            at toyproject.Main.main(Main.java:8)
            ... 8 more
    Java Result: 1
    run-jar:
    run-display-browser:
    run:
    BUILD SUCCESSFUL (total time: 11 seconds)When I print out the SessionBean itself, it prints "null".
    I guess server output isn't helpful since the server never even gets contacted here, and when i "debug" it does the right thing. Anyway the fish doesn't spew errors, just a torrent of messages about deploying and stuff.
    This is the appclient output when "Debug"
    init:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    dist:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    Building jar: /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    dist:
    pre-run-deploy:
    Redeploying /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    Start registering the project's server resources
    Finished registering server resources
    While redeploying, trying to stop the application in target server  completed successfully
    While redeploying, trying to remove reference for application in target server  completed successfully
    deployment started : 0%
    deployment finished : 100%
    Deploying application in domain completed successfully
    Trying to create reference for application in target server  completed successfully
    Trying to start application in target server  completed successfully
    Deployment of application ToyProject-app-client  completed successfully
    All operations completed successfully
    Enable of ToyProject-app-client in target server completed successfully
    Enable of application in all targets  completed successfully
    All operations completed successfully
    post-run-deploy:
    run-deploy:
    Copying 1 file to /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist
    debug-tool:
    Non-existing path "/home/seb/glassfish-v2ur2/lib/dom.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xalan.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xercesImpl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/jaxrpc-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/saaj-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/jaxr-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/relaxngDatatype.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xsdlib.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/fscontext.jar" provided.
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/dom.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xalan.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xercesImpl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/jaxrpc-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/saaj-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/jaxr-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/relaxngDatatype.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xsdlib.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/fscontext.jar
    Listening for transport dt_socket at address: 9009
    Attached JPDA debugger to localhost:9009
    hello world
    debug-jar:
    debug:
    BUILD SUCCESSFUL (total time: 16 seconds)as you see i do get some errors about missing file or what but it runs OK.

  • Help debugging an Apache module compile

    Has anyone every had any experience adding in modules to apache that use openssl?
    We have had great luck installing this module in particular "mod_cosign" with Apache 1.3 standalone but we are having a heck of a time compiling it with OHS.
    The module we are using is from:
    http://webapps.itcs.umich.edu/cosign/index.php/Cosign_Wiki:Test_install_HOWTO#Compilation_and_Installation
    We are compiling this with openssl-0.9.7e
    And here is the error we get when we try to start apache
    .../Apache/Apache/bin/apachectl startssl: execing httpd
    Syntax error on line 245 of .../Apache/Apache/conf/httpd.conf:
    Cannot load .../Apache/Apache/libexec/mod_cosign.so into server: ld.so.1: .../Apac
    he/Apache/bin/httpd: fatal: relocation error: file .../Apache/Apache/libexec/mod_cosign.so: symbol RAND_bytes: referenc
    ed symbol not found
    I'm not sure what it is truly missing and why the "RAND_bytes" is missing. I know this is specific issue but I was hoping maybe somebody has some experience with other modules being compiled and help debugging them.
    Thanks,
    Justin

    You should try with the latest apache 1.3.x version rather than with the 2.x version. The mobile server module that has been shipped has been tested with 1.3.x version. Hi! Summit,
    Thanks for your good observation.
    I already figured that and tried on
    apache_1.3.27
    I went through all te trouble to compile a EAPI enabled
    Apache to fix the 'Symbol resolving problem'
    Now I have the EAPI enabled ( pretty much ssl enabled ) Apache_1.3.27
    Now when I load the module 'libwtgapach.so'
    I get the following log ERRO entry in Apache and it never comes up.
    Here is my ewrror log says.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    [Thu Nov  7 16:15:41 2002] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations
    [Thu Nov  7 16:15:41 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Thu Nov  7 16:16:07 2002] [notice] caught SIGTERM, shutting down
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    This could still be due to a problem in the Shared Object 'libwtgapach.so' as without it the EAPI enaled Apache works fine.
    This is very criutical for me to get the 'Mobile' project we are researching on to get going.
    Any help is deeply appreciated, I am trying ORACLE with not much help.
    One thing strange though, the olite_50200_linux.cpio distribution from ORACLE download page installation documentation does not even mention about the Apache Module Configuration detalis.
    I presume it is implied as trivial.
    OR
    IS IT REALY SUPPORTED ?
    -- ajith

  • Adobe plugin creates junk debug files: 'C:\\nppdf32Log\\debuglog.txt'

    Hello,
    latest Adobe Reader for Linux (9.5.5) - its plugin for firefox named nppdf32.so creates junk debug files named: 'C:\\nppdf32Log\\debuglog.txt' in directories from where a firefox was executed.
    This happens since Acrobat Reader 9.5.1 release.
    How to make Adobe fixing this bug?
    How to contact them efficiently?
    This bug exists since 9.5.1 dated 04/09/2012 and Adobe do not care. Fix is trivial for Adobe: disable debug logging in release versions and stop using Windows path 'C:\\nppdf32Log\\debuglog.txt' in Linux products.
    Workaround for this bug is trivial: open in hex editor: nppdf32.so file installed by Adobe Reader, go to position 0x0002193a in this file (or simply search for C:\ - there is only one place), and replace string:
    C:\\nppdf32Log\\debuglog.txt
    with:
    /dev/null
    Because string /dev/null is shorter than C:\\nppdf32Log\\debuglog.txt fill remainings of previous string with hex zeroes: 00 to keep everything in place.
    Come on Adobe what's wrong with you! Why you do not provide such simple fix by yourself! It's 3 minutes of primitive work!

    Here are few solutions:
    1. You can configure firefox to open pdf in external application like acroread. This way plugin problem is bypassed. - I use it this way. It looks to be faster this way.
    2. "C:\nppdf32Log\debuglog.txt" is created every time in directory from where you executed firefox/opera/other browser and opened any pdf file in browser. So this is not only home directory. You can fix this problem by yourself by hex editing nppdf.so file and replacing C:\nppdf32Log\debuglog.txt path in this file with /dev/null path. See my post here for detailed instructions: http://forums.adobe.com/thread/1253800

  • Samba4: Debugging broken helper responses with ntlm_auth

    Hello.
    I've been using mod_auth_ntlm_winbind+apache2 for NTLM authentication on my Arch web server. I decided to go through and overhaul my old server (thank you dropbear and busybox, makes all the fuss with breaking glibc/filesystem trivial), and in the process samba went to samba4. I'm completely up to date as of yesterday.
    Now, all of a sudden I'm unable to get a proper handshake out of ntlm_auth, and nothing has changed with the config of my box.
    I'm able to kinit a ticket, klist shows it fine. I'm able to net ads join (I did a net ads leave just to start from scratch), wbinfo -u/-g works fine, net ads info reports sane information, it all _looks_ good, until I try to auth via apache. Then I get a handshake response of "BH NT_STATUS_UNSUCCESSFUL" which seems to be the most vague error ever.
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(483): [client 10.21.80.126] Launched ntlm_helper, pid 7001
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(653): [client 10.21.80.126] creating auth user
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(704): [client 10.21.80.126] parsing reply from helper to YR base64_snipped
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(742): [client 10.21.80.126] got response: TT base64_snipped
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(412): [client 10.21.80.126] sending back base64_snipped
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(1019): [client 10.21.80.126] doing ntlm auth dance
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(485): [client 10.21.80.126] Using existing auth helper 7001
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(704): [client 10.21.80.126] parsing reply from helper to KK base64_snipped
    [Fri Oct 11 02:15:10 2013] [debug] mod_auth_ntlm_winbind.c(742): [client 10.21.80.126] got response: BH NT_STATUS_UNSUCCESSFUL NT_STATUS_UNSUCCESSFUL
    [Fri Oct 11 02:15:10 2013] [error] [client 10.21.80.126] (20014)Internal error: ntlm_auth reports Broken Helper: BH NT_STATUS_UNSUCCESSFUL NT_STATUS_UNSUCCESSFUL
    I've cut out the base64 strings (I parsed them in an offline tool, they look fine) just for privacy.
    Does anyone have an idea on how to even begin to debug this? I've got no idea where to go, I perused the source of ntlm_auth but it seems to just be a helper into winbind, and that's a bit too big for me to eat right now.
    Thanks!
    Matt

    Well, I downgraded to samba 3.6.10 (last version I had cached) and everything works now, I only wish I knew what was wrong. I'll stick with 3x. Not sure if I should mark this solved as technically it isn't?

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?

    Firefox can't open normally without going through the "this is embarrassing" routine; nor does it close down properly; I get the "end program" message and have to say "end now"it also sticks frequently, i.e. screen freezes for a minute or more; should I uninstall and re-install to try and debug?
    - I've used Firefox exclusively for around 2 years.
    - My outlook express has no problems
    - other programs seem unaffected; it seems peculiar to Firefox.
    - my main use is surfing the net, primarily entering competitions on line via specialist competition sites.
    - every day at some stage(s) I have to switch computer off as Firefox has got very slow/sticky/freezes.
    I'm not techy by any means, but I can only thing of un- and re-installing to hopefully start with a clean slate.

    Sounds like something is keeping Firefox from closing properly. See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • ERROR while debugging a SELECT..ENDSELECT

    Hello All,
    We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.
    This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?
    Thanks!!
    Regards,
    Vishal

    Hi,
      debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.
    See OSS notes 675, 2104.
    From OSS note 675 **********************************
    Cause and prerequisites
    Chain of causes:
          1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).
          2. A database Commit causes the database to lose the cursor.
          3. The system cannot automatically continue within Select loop after loss of cursor.
    Following statements lead to a database Commit:
        * All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)
        * BREAK-POINT/ Debugging
          . if no debug process free
          . always after regeneration (in order to release generation lock).
        * WAIT Here a work process is released and a Commit is executed.
        * COMMIT WORK/ROLLBACK WORK
    From OSS note 2104 **********************************
    Solution
    The "COMMITWORK" message appears in the ABAP debugger when programs
    orscreensrequireregeneration,or when not enough free capacity
    is available inthesystem (or else the debugger blocks a system
    process).
    Normallyonly one work process is released for debugging. This
    isgenerally insufficient ina developmentsystem, as processes
    can be blocked for other reasonstoo(background processing,
    CPI-C connections,andso on).
    The number of work processes made available for debugging can
    be configured using the profileparameter
                      rdisp/wpdbug_max_no
    Forexample:
                    rdisp/wpdbug_max_no = 10
    setsthe maximum number of work processes made available for
    debuggingto 10. It may be necessary to generally increase the
    numberofwork processesatthis time (parameter rdisp/wp_no_dia).
    In all other known cases, an error in the application program is
    involved.
    Regards, Manuel

  • DID YOU KNOW?: Debugging with BC4J Tester

    Did you know that in JDeveloper 3.2, you can run the BC4J tester in debug mode to exercise your business components and hit breakpoints at the same time?
    Just do the following:
    [list]
    [*]Expand the navigator node for your Application Module, revealing its XML and Java implementation files.
    [*]Right-mouse on the YourAppModImpl.java file, and select Debug...
    [list]
    By default, it will debug using the "local mode" connection configuration. If you want it to debug using a difference configuration, just change the configuration name that appears as the 2nd argument in the launchTester call in the main() method of the application module implementation file.

    grin Thanks, Steve.
    Does this mean that in JDev 5.0 we're going to see an animated Steven Muench head in a tiny window in the lower corner, occassionally tapping on the glass to offer us hints?

  • Error when starting Weblogic in debug mode

    Hi there
    Has anyone experienced any difficulties when starting weblogic in debug mode.
    More specifically, it cannot start correctly because it thinks that another instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 8320. java.net.BindException: Address already in use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Server shutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)

    Thanks for the suggestion.
    Unfortunatley the port is definately free/available during startup.
    Stephane Kergozien <[email protected]> wrote:
    Maark,
    Before starting your server, please could you check that the port is
    not used by one
    other process. You can use the netstat command to do this.
    Regards
    Stephane
    Mark wrote:
    Hi there
    Has anyone experienced any difficulties when starting weblogic in debugmode.
    More specifically, it cannot start correctly because it thinks thatanother instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unableto create
    a server socket for port: 8320. java.net.BindException: Address alreadyin use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probablyrestart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Servershutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unableto load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)--
    Regards,
    Stephane Kergozien
    BEA Support

Maybe you are looking for

  • EXCEPTION_ACCESS_VIOLATION in GetNlsSectionName??

    On WIndows XP I sometimes (about 10% of the time) get: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C8189BE Function=GetNlsSectionName+0xD5D Lib

  • Using UDK software with MB pro GeForce GT 330M

    Hi, Can anyone confirm or offer more information on whether UDK development software is compatible with the Nvidia GeForce GT330M graphics card onboard Macbook pro 15" & 17" models? I currently run a Macbook (2008) with the older Intel graphics card

  • Upgrading via App Store vs. Regular Upgrade

    App Store version is $20 cheaper than upgrading, but will it "upgrade" me without losing all my settings, plugins, etc? While I'd like to save the $20, it's not worth it if I have to reconfigure everything. Thanks

  • 9ias,database,forms6i,reports 6i for linux

    we want to shift our platform to linux(still not decided the version). Before shifting to linux I want to know that..... which are the various linux versions(tested) that oracle 9ias v1.0.2.0.0 or above (with forms,reports & discoverer), Forms 6i, Re

  • Router crashes - Homehub 2

    Hey , recently I have been having some problems with my router. It would just freeze and the wireless would cease from broadcasting so I cant connect and the Ethernet connection will not work. However if I restart the router It will work fine . I hav