Process *JDEbug* not running, PLEASE HELP !

2001-07-31 Thread Joel Cordonnier

Hi !

I move from JDE 2.2.7.1 to the latest JDE 2.2.8beta4,
and I have always the same problem when starting the
JDEbug... Process *JDEbug* not running (on Win2k, with
jdk1.3)


Thanks for the help
Joel

___
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com



JDE refuses to load buffer.

2001-07-31 Thread Kalle Raita


 My environment:

 Windows 2000
 XEmacs 21.4
 jde-2.2.7.1.
 semantic-1.4beta5/6
 eieio-0.16
 speedbar-0.13

 I try to load file and I get error message:
Wrong type argument: number-char-or-marker-p, nil
 
This happens after loading the prj.el. 
After the error the buffer isn't opened. Yes. I can't even see the file.
I have used JDE quite heavily for two months and nothing like this has
happened before. 

 I have attached the problematic file, RemoteDebugger.java.

-- Kalle Raita [EMAIL PROTECTED]
-- 040 - 723 1441 


import java.net.*;

import java.io.*;

import javax.swing.*;

import java.awt.*;

import java.awt.event.*;

import java.util.*;



import channel.*;



/**

 * Application class of the RemoteDebugger. This is used to run the program and it 
contains

 * (for now)  most of the UI stuff. Not any more. 

 *

 * @author a href=mailto:[EMAIL PROTECTED];Kalle Raita/a

 * @version 1.0

 */

public class RemoteDebugger extends JFrame

implements Runnable

{

/** Gives visualizers a common preferred size */

public static Dimension visualizerSize = new Dimension(300,150);



private ServerSocket soc;

private JMenuBar menuBar;

private Vector sessions = new Vector();

private int mouseX, mouseY;

private boolean dragging = false;

private DebuggerUI ui;

private OptionManager appl;

private FrameUpdater fru;

/** Trafic watcher instance to be used with the remote debugger. */

private TraficWatcher watch = new TraficWatcher();

/** Channel tree of the remote debugger */

private ChannelTree tree;

private JPanel channels = new JPanel();

/** Mouse adapter of the frame */

public DebuggerMouseAdapter adap;

private JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);



private JPanel prevControl = null;



/** Port used for communication of the remote debugger. */

public static final int PORT = 4787;





public RemoteDebugger() {

this(null);

}

/**

 * Creates a new codeRemoteDebugger/code instance.

 *

 */

public RemoteDebugger(ChannelTree tree) {

(new InitializationThread()).start();

try {

soc = new ServerSocket(PORT);

soc.setSoTimeout(1);

}

catch (IOException e) {

System.out.println(Error while starting server  + 
e.getMessage());

}



appl = new OptionManager(application.ini);



Integer rows = appl.getIntegerOption(window.visualizers.rows);

channels.setLayout(new GridLayout((rows == null)?4:rows.intValue()

  
,4,3,3)); // Cols (second argument) does nothing! 



if (tree == null) {

prepareTree();   

} // end of if (tree == null)

else {

this.tree = tree;

} // end of else



addWindowListener(new WinAdap());

adap = new DebuggerMouseAdapter(this, this.tree);

setGlassPane(adap);

getGlassPane().setVisible(true);

getContentPane().setLayout(new BorderLayout(7,7));



split.setLeftComponent(this.tree);

split.setRightComponent(channels);

getContentPane().add(split, BorderLayout.CENTER);



menuBar = new JMenuBar();

this.setJMenuBar(menuBar);

ui = new DebuggerUI(this);

ui.initMainUI();

ui.initChannelTreeUI(this.tree);



prepareWindow();



Integer wait = appl.getIntegerOption(window.refreshWait);

fru = new FrameUpdater((wait==null)?250:wait.intValue());

fru.addTarget(this.getContentPane());

fru.start();



show();

}



/**

 * Starts the server listening process.

 *

 */

public void serverLoop() {

if (soc == null) {

System.out.println(Stale socket - exiting);

System.exit(0);

}

DebugSession session;

System.out.println(Entering server loop);

while (true) {

try {

Socket con = soc.accept();

con.setTcpNoDelay(true);

con.setTcpNoDelay(true);


RE: Process *JDEbug* not running, Win2k

2001-07-31 Thread Joel Cordonnier

Hi !

Has someone already solved this problem ??


Thanks
Joel



 --- Javier Lopez [EMAIL PROTECTED] a écrit :
 On win2k this problem was caused by the operating
 system. updating to the latest service pack 2 seem
 to
 have the problem in all the cases I seen before.
 Sorry I have not been much help. But without being
 able to reproduce the problem it is hard to tell 
 what is going on.
 
 Javier
 
  -Original Message-
  From: Joel Cordonnier
 [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 31, 2001 3:29 AM
  To: [EMAIL PROTECTED]
  Subject: Process *JDEbug* not running, PLEASE HELP
 ! 
  
  
  Hi !
  
  I move from JDE 2.2.7.1 to the latest JDE
 2.2.8beta4,
  and I have always the same problem when starting
 the
  JDEbug... Process *JDEbug* not running (on Win2k,
 with
  jdk1.3)
  
  
  Thanks for the help
  Joel
  
 

___
  Do You Yahoo!? -- Vos albums photos en ligne, 
  Yahoo! Photos : http://fr.photos.yahoo.com
   

___
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com



RE: Process *JDEbug* not running, Win2k

2001-07-31 Thread Paul Kinnucan

At 07:26 PM 7/31/2001 +0200, you wrote:
Hi !

Has someone already solved this problem ??


Without an accurate and complete description of the problem, e.g., the
output of the JDE-Help-Submit Problem Report command, I cannot be sure
what problem you are referring to. However, if the problem is the problem
due to the inter process I/O bug in Windows 2000, which prevents Emacs from
communicating with other processs, such as JDEbug, and which I described in
detail in a previous posting to this list, then the answer to your question
is yes. Microsoft has fixed the problem and the fix is in Service Pack 2. I
have personally verified that JDEbug does not work, i.e., JDEbug does not
respond to commands, on Windows 2000 without Service Pack 2 installed and
that it works as expected with Service Pack 2 installed.

- Paul






Emacs causes Dr. Watson

2001-07-31 Thread Jeff Rancier

when invoking Ant.  Has anyone seen this?  Is there anything else I can
provide?


Signaling: (wrong-type-argument char-or-string-p nil)


compile-internal(t:/pkg/ant/bin/ant.bat -Dbuffer=h:/cvsdev/user/jrancier/Se
rvlet/ServletTest.java  -buildfile build.xml -emacs  No more errors)
  (let ((default-directory ...)) (compile-internal compile-command No more
errors))
  (if (not jde-ant-enable-find) (let (...) (compile-internal compile-command
No more errors)))
  (progn (if (eq system-type ...) (let ... ... ... ...) (save-some-buffers
... nil)) (message %s compile-command) (if (not jde-ant-enable-find) (let
... ...)) (if jde-ant-enable-find (compile-internal compile-command No more
errors)))
  (if compile-command (progn (if ... ... ...) (message %s compile-command)
(if ... ...) (if jde-ant-enable-find ...)))
  (when compile-command (if (eq system-type ...) (let ... ... ... ...)
(save-some-buffers ... nil)) (message %s compile-command) (if (not
jde-ant-enable-find) (let ... ...)) (if jde-ant-enable-find
(compile-internal compile-command No more errors)))
  (let ((compile-command ...)) (when compile-command (if ... ... ...)
(message %s compile-command) (if ... ...) (if jde-ant-enable-find ...)))
  jde-ant-build()
  call-interactively(jde-ant-build)