Fwd: comint-output-filter error with jde-eclipse-compile-server and flymake
"Yee Keat Phuah" <[email protected]> Fri, 7 Dec 2007 23:35:38 +0800
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_10385_18725312.1197041738641 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have figured out why the backtrace is so short, its because my comint.elis actually byte-compiled, I have gathered another 2 backtrace for the same problem --- case 1 ---- Debugger entered--Lisp error: (wrong-type-argument markerp nil) set-marker(nil 5893) (save-restriction (widen) (goto-char (process-mark process)) (set-marker comint-last-output-start (point)) (insert-before-markers string) (let (...) (set-marker comint-last-output-start old-point) (when ... ...) (dolist ... ...) (dolist ... ...)) (set-marker (process-mark process) (point)) (unless comint-inhibit-carriage-motion (comint-carriage-motion comint-last-output-start ...)) (goto-char saved-point) (run-hook-with-args (quote comint-output-filter-functions) string) (set-marker saved-point (point)) (goto-char (process-mark process)) (unless comint-use-prompt-regexp (let ... ...)) (let (... ... ...) (when comint-prompt-read-only ... ...) (unless ... ...)) (goto-char saved-point)) (let ((inhibit-read-only t) (saved-point ...)) (set-marker-insertion-type saved-point t) (save-restriction (widen) (goto-char ...) (set-marker comint-last-output-start ...) (insert-before-markers string) (let ... ... ... ... ...) (set-marker ... ...) (unless comint-inhibit-carriage-motion ...) (goto-char saved-point) (run-hook-with-args ... string) (set-marker saved-point ...) (goto-char ...) (unless comint-use-prompt-regexp ...) (let ... ... ...) (goto-char saved-point))) (save-current-buffer (set-buffer oprocbuf) (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) (with-current-buffer oprocbuf (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) (progn (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) (if (and string oprocbuf (buffer-name oprocbuf)) (progn (with-current-buffer oprocbuf ... ...))) (when (and string oprocbuf (buffer-name oprocbuf)) (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) (let ((oprocbuf ...)) (when (and string oprocbuf ...) (with-current-buffer oprocbuf ... ...))) comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:239: error: request cannot be resolved\n MessageResources messageResource = this.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:239: error: AbstractAction cannot be resolved\n MessageResources messageResource = this.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:254: error: request cannot be resolved\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:254: error: ResourcesKey cannot be resolved\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^^^^^^\n4 problems (4 errors)\nbsh % jde-eclipse-compiler-server-done\nbsh % ") --- case 2 --- Debugger entered--Lisp error: (wrong-type-argument markerp nil) set-marker(nil 5893) (save-restriction (widen) (goto-char (process-mark process)) (set-marker comint-last-output-start (point)) (insert-before-markers string) (let (...) (set-marker comint-last-output-start old-point) (when ... ...) (dolist ... ...) (dolist ... ...)) (set-marker (process-mark process) (point)) (unless comint-inhibit-carriage-motion (comint-carriage-motion comint-last-output-start ...)) (goto-char saved-point) (run-hook-with-args (quote comint-output-filter-functions) string) (set-marker saved-point (point)) (goto-char (process-mark process)) (unless comint-use-prompt-regexp (let ... ...)) (let (... ... ...) (when comint-prompt-read-only ... ...) (unless ... ...)) (goto-char saved-point)) (let ((inhibit-read-only t) (saved-point ...)) (set-marker-insertion-type saved-point t) (save-restriction (widen) (goto-char ...) (set-marker comint-last-output-start ...) (insert-before-markers string) (let ... ... ... ... ...) (set-marker ... ...) (unless comint-inhibit-carriage-motion ...) (goto-char saved-point) (run-hook-with-args ... string) (set-marker saved-point ...) (goto-char ...) (unless comint-use-prompt-regexp ...) (let ... ... ...) (goto-char saved-point))) (save-current-buffer (set-buffer oprocbuf) (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) (with-current-buffer oprocbuf (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) (progn (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) (if (and string oprocbuf (buffer-name oprocbuf)) (progn (with-current-buffer oprocbuf ... ...))) (when (and string oprocbuf (buffer-name oprocbuf)) (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) (let ((oprocbuf ...)) (when (and string oprocbuf ...) (with-current-buffer oprocbuf ... ...))) comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\119975943\\ConfirmationForm.java:241: error: The method getResources(HttpServletRequest, String) from the type Action is not visible\n MessageResources messageResource = action.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\119975943\\ConfirmationForm.java:256: error: The method getLocale() in the type AbstractForm is not applicable for the arguments (HttpServletRequest)\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^^^\n2 problems (2 errors)\nbsh % jde-eclipse-compiler-server-done\nbsh % ") Cheers, Phuah Yee Keat ---------- Forwarded message ---------- From: Yee Keat Phuah <[email protected]> Date: Dec 3, 2007 1:49 PM Subject: comint-output-filter error with jde-eclipse-compile-server and flymake To: jde-users <[email protected]> Hi, Lately I have been testing the jde-eclipse-compile-server with flymake turned on. I get a couple of comint-output-filter errors, here are them, all on different occasions. --- case 1--- Debugger entered--Lisp error: (wrong-type-argument markerp nil) comint-output-filter(#<process bsh<1>> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\25928315\\ConfirmationForm.java:242: error: Syntax error, in sert \")\" to complete ClassInstanceCreationExpression\n JSONArray arr = new JSONArray(\n ^\nc:\\ DOCUME~1\\phuahy\\LOCALS~1\\Temp\\25928315\\ConfirmationForm.java:242: error: Syntax error, insert \";\" to complete LocalVariableDeclaratio nStatement\n JSONArray arr = new JSONArray(\n ^\n2 problems (2 errors)\nbsh % jde-eclipse-compiler-se rver-done\nbsh % ") --- case 2 --- Debugger entered--Lisp error: (wrong-type-argument markerp nil) comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\144106260\\ConfirmationAction.java:261: error: confirmationNumb er cannot be resolved\n firstRhd = getDelegate().getReservationServicesDelegate().getReservationByConfirmationNumber(confirmationNumber);\n ^^^^^^^^^^^^^^^^^^\n1 problem (1 error) \nbsh % jde-eclipse-compiler-server-done\nbsh % ") --- case 3 --- Debugger entered--Lisp error: (wrong-type-argument markerp nil) comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-36132260\\ConfirmationForm.java:17: warning: The import com.ho telinfosys.merci.server.model.profile.ProfileHelperData is never used\n import com.hotelinfosys.merci.server.model.profile.ProfileHelperData ;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n1 problem (1 warning)\nbsh % jde-eclipse-compiler-server-done\ nbsh % ") --- case 4 --- Debugger entered--Lisp error: (wrong-type-argument markerp nil) comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-55802339\\ConfirmationForm.java:133: error: Type mismatch: can not convert from Collection to List\n this.emailAddress = emailAddress;\n ^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCA LS~1\\Temp\\-55802339\\ConfirmationForm.java:337: warning: The local variable email is never read\n String email;\n ^^^^^\n2 prob lems (1 error, 1 warning)\nbsh % jde-eclipse-compiler-server-done\nbsh % ") I already have debug-on-error turned on, but yet I do not understand why I only get one line of backtrace. I hope that I have provided enough cases to simplify troubleshooting. Its a great module. Cheers, Phuah Yee Keat ------=_Part_10385_18725312.1197041738641 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br><br>I have figured out why the backtrace is so short, its because my comint.el is actually byte-compiled, I have gathered another 2 backtrace for the same problem<br><br>--- case 1 ----<br>Debugger entered--Lisp error: (wrong-type-argument markerp nil) <br> set-marker(nil 5893)<br> (save-restriction (widen) (goto-char (process-mark process)) (set-marker comint-last-output-start (point)) (insert-before-markers string) (let (...) (set-marker comint-last-output-start old-point) (when ... ...) (dolist ... ...) (dolist ... ...)) (set-marker (process-mark process) (point)) (unless comint-inhibit-carriage-motion (comint-carriage-motion comint-last-output-start ...)) (goto-char saved-point) (run-hook-with-args (quote comint-output-filter-functions) string) (set-marker saved-point (point)) (goto-char (process-mark process)) (unless comint-use-prompt-regexp (let ... ...)) (let (... ... ...) (when comint-prompt-read-only ... ...) (unless ... ...)) (goto-char saved-point)) <br> (let ((inhibit-read-only t) (saved-point ...)) (set-marker-insertion-type saved-point t) (save-restriction (widen) (goto-char ...) (set-marker comint-last-output-start ...) (insert-before-markers string) (let ... ... ... ... ...) (set-marker ... ...) (unless comint-inhibit-carriage-motion ...) (goto-char saved-point) (run-hook-with-args ... string) (set-marker saved-point ...) (goto-char ...) (unless comint-use-prompt-regexp ...) (let ... ... ...) (goto-char saved-point))) <br> (save-current-buffer (set-buffer oprocbuf) (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))<br> (with-current-buffer oprocbuf (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) <br> (progn (with-current-buffer oprocbuf (let ... ...) (let ... ... ...)))<br> (if (and string oprocbuf (buffer-name oprocbuf)) (progn (with-current-buffer oprocbuf ... ...)))<br> (when (and string oprocbuf (buffer-name oprocbuf)) (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) <br> (let ((oprocbuf ...)) (when (and string oprocbuf ...) (with-current-buffer oprocbuf ... ...)))<br> comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:239: error: request cannot be resolved\n MessageResources messageResource = this.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:239: error: AbstractAction cannot be resolved\n MessageResources messageResource = this.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:254: error: request cannot be resolved\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-118968317\\ConfirmationForm.java:254: error: ResourcesKey cannot be resolved\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^^^^^^\n4 problems (4 errors)\nbsh % jde-eclipse-compiler-server-done\nbsh % ") <br><br><br>--- case 2 ---<br> Debugger entered--Lisp error: (wrong-type-argument markerp nil)<br> set-marker(nil 5893)<br> (save-restriction (widen) (goto-char (process-mark process)) (set-marker comint-last-output-start (point)) (insert-before-markers string) (let (...) (set-marker comint-last-output-start old-point) (when ... ...) (dolist ... ...) (dolist ... ...)) (set-marker (process-mark process) (point)) (unless comint-inhibit-carriage-motion (comint-carriage-motion comint-last-output-start ...)) (goto-char saved-point) (run-hook-with-args (quote comint-output-filter-functions) string) (set-marker saved-point (point)) (goto-char (process-mark process)) (unless comint-use-prompt-regexp (let ... ...)) (let (... ... ...) (when comint-prompt-read-only ... ...) (unless ... ...)) (goto-char saved-point)) <br> (let ((inhibit-read-only t) (saved-point ...)) (set-marker-insertion-type saved-point t) (save-restriction (widen) (goto-char ...) (set-marker comint-last-output-start ...) (insert-before-markers string) (let ... ... ... ... ...) (set-marker ... ...) (unless comint-inhibit-carriage-motion ...) (goto-char saved-point) (run-hook-with-args ... string) (set-marker saved-point ...) (goto-char ...) (unless comint-use-prompt-regexp ...) (let ... ... ...) (goto-char saved-point))) <br> (save-current-buffer (set-buffer oprocbuf) (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))<br> (with-current-buffer oprocbuf (let (...) (while ... ... ...)) (let (... ...) (set-marker-insertion-type saved-point t) (save-restriction ... ... ... ... ... ... ... ... ... ... ... ... ... ...))) <br> (progn (with-current-buffer oprocbuf (let ... ...) (let ... ... ...)))<br> (if (and string oprocbuf (buffer-name oprocbuf)) (progn (with-current-buffer oprocbuf ... ...)))<br> (when (and string oprocbuf (buffer-name oprocbuf)) (with-current-buffer oprocbuf (let ... ...) (let ... ... ...))) <br> (let ((oprocbuf ...)) (when (and string oprocbuf ...) (with-current-buffer oprocbuf ... ...)))<br> comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\119975943\\ConfirmationForm.java:241: error: The method getResources(HttpServletRequest, String) from the type Action is not visible\n MessageResources messageResource = action.getResources(request, AbstractAction.RESOURCE_BUNDLE);\n ^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\119975943\\ConfirmationForm.java:256: error: The method getLocale() in the type AbstractForm is not applicable for the arguments (HttpServletRequest)\n String status = messageResource.getMessage(this.getLocale(request), ResourcesKey.RESERVATION_STATUS+crd.getStatus().toUpperCase());\n ^^^^^^^^^\n2 problems (2 errors)\nbsh % jde-eclipse-compiler-server-done\nbsh % ") <br><br>Cheers,<br>Phuah Yee Keat<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Yee Keat Phuah</b> <<a href="mailto:[email protected]">[email protected]</a> ><br>Date: Dec 3, 2007 1:49 PM<br>Subject: comint-output-filter error with jde-eclipse-compile-server and flymake<br>To: jde-users <<a href="mailto:[email protected]">[email protected]</a>><br><br><br>Hi,<br><br>Lately I have been testing the jde-eclipse-compile-server with flymake turned on. I get a couple of comint-output-filter errors, here are them, all on different occasions. <br><br>--- case 1---<br>Debugger entered--Lisp error: (wrong-type-argument markerp nil) <br> comint-output-filter(#<process bsh<1>> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\25928315\\ConfirmationForm.java:242: error: Syntax error, in<br>sert \")\" to complete ClassInstanceCreationExpression\n JSONArray arr = new JSONArray(\n ^\nc:\\ <br>DOCUME~1\\phuahy\\LOCALS~1\\Temp\\25928315\\ConfirmationForm.java:242: error: Syntax error, insert \";\" to complete LocalVariableDeclaratio<br>nStatement\n JSONArray arr = new JSONArray(\n ^\n2 problems (2 errors)\nbsh % jde-eclipse-compiler-se <br>rver-done\nbsh % ")<br><br>--- case 2 ---<br>Debugger entered--Lisp error: (wrong-type-argument markerp nil)<br> comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\144106260\\ConfirmationAction.java:261: error: confirmationNumb <br>er cannot be resolved\n firstRhd = getDelegate().getReservationServicesDelegate().getReservationByConfirmationNumber(confirmationNumber);\n<br> ^^^^^^^^^^^^^^^^^^\n1 problem (1 error) <br>\nbsh % jde-eclipse-compiler-server-done\nbsh % ")<br><br>--- case 3 ---<br>Debugger entered--Lisp error: (wrong-type-argument markerp nil)<br> comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-36132260\\ConfirmationForm.java:17: warning: The import com.ho<br>telinfosys.merci.server.model.profile.ProfileHelperData is never used\n import com.hotelinfosys.merci.server.model.profile.ProfileHelperData<br>;\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n1 problem (1 warning)\nbsh % jde-eclipse-compiler-server-done\ <br>nbsh % ")<br><br>--- case 4 ---<br>Debugger entered--Lisp error: (wrong-type-argument markerp nil)<br> comint-output-filter(#<process bsh> "c:\\DOCUME~1\\phuahy\\LOCALS~1\\Temp\\-55802339\\ConfirmationForm.java:133: error: Type mismatch: can <br>not convert from Collection to List\n this.emailAddress = emailAddress;\n ^^^^^^^^^^^^\nc:\\DOCUME~1\\phuahy\\LOCA<br>LS~1\\Temp\\-55802339\\ConfirmationForm.java:337: warning: The local variable email is never read\n String email;\n ^^^^^\n2 prob <br>lems (1 error, 1 warning)\nbsh % jde-eclipse-compiler-server-done\nbsh % ")<br><br><br>I already have debug-on-error turned on, but yet I do not understand why I only get one line of backtrace. I hope that I have provided enough cases to simplify troubleshooting. Its a great module. <br><br>Cheers,<br><font color="#888888">Phuah Yee Keat<br> </font></div><br> ------=_Part_10385_18725312.1197041738641--