Coder Social home page Coder Social logo

Comments (6)

lwiechec avatar lwiechec commented on September 3, 2024

Full debug message when it happens:

Debugger entered--Lisp error: (invalid-function semantic-find-tags-by-class)
  semantic-find-tags-by-class(type (("int_.nato.nc3a.services.common.interceptor" package nil nil #<overlay from 1 to 52 in MyCxfSoapOutInterceptor.java>) ("org.apache.cxf.interceptor.LoggingMessage" include nil nil #<overlay from 54 to 103 in MyCxfSoapOutInterceptor.java>) ("org.apache.cxf.interceptor.LoggingOutInterceptor" include nil nil #<overlay from 104 to 160 in MyCxfSoapOutInterceptor.java>) ("org.slf4j.LoggerFactory" include nil nil #<overlay from 162 to 193 in MyCxfSoapOutInterceptor.java>) ("org.slf4j.Logger" include nil nil #<overlay from 194 to 218 in MyCxfSoapOutInterceptor.java>) ("MyCxfSoapOutInterceptor" type (:typemodifiers ("public") :superclasses "LoggingOutInterceptor" :members (("LOG" variable (:typemodifiers ("private" "final") :type "Logger") (reparse-symbol class_member_declaration) #<overlay from 292 to 360 in MyCxfSoapOutInterceptor.java>) ("MyCxfSoapOutInterceptor" function (:constructor-flag t :typemodifiers ("public")) (reparse-symbol class_member_declaration) #<overlay from 364 to 415 in MyCxfSoapOutInterceptor.java>) ("formatLoggingMessage" function (:typemodifiers ("protected") :arguments (("loggingMessage" variable ... ... #<overlay from 469 to 498 in MyCxfSoapOutInterceptor.java>)) :type "String") (reparse-symbol class_member_declaration) #<overlay from 431 to 777 in MyCxfSoapOutInterceptor.java>)) :type "class") nil #<overlay from 220 to 779 in MyCxfSoapOutInterceptor.java>) ("LOG" variable (:typemodifiers ("private" "final") :type "Logger") (reparse-symbol class_member_declaration) #<overlay from 292 to 360 in MyCxfSoapOutInterceptor.java>) ("MyCxfSoapOutInterceptor" function (:constructor-flag t :typemodifiers ("public")) (reparse-symbol class_member_declaration) #<overlay from 364 to 415 in MyCxfSoapOutInterceptor.java>) ("formatLoggingMessage" function (:typemodifiers ("protected") :arguments (("loggingMessage" variable (:type "LoggingMessage") (reparse-symbol formal_parameters) #<overlay from 469 to 498 in MyCxfSoapOutInterceptor.java>)) :type "String") (reparse-symbol class_member_declaration) #<overlay from 431 to 777 in MyCxfSoapOutInterceptor.java>) ("loggingMessage" variable (:type "LoggingMessage") (reparse-symbol formal_parameters) #<overlay from 469 to 498 in MyCxfSoapOutInterceptor.java>)))
  malabar--type-tags-in-buffer(nil)
  malabar-class-defined-in-buffer-p("Logger")
  malabar-import-one-class("Logger")
  call-interactively(malabar-import-one-class nil nil)
  command-execute(malabar-import-one-class)

from malabar-mode.

lwiechec avatar lwiechec commented on September 3, 2024

Someone else also reports on Stack Overflow similar problem : http://stackoverflow.com/questions/15223929/eassist-function-tags-invalid-function-semantic-find-tags-by-class

from malabar-mode.

lwiechec avatar lwiechec commented on September 3, 2024

Interestingly, I do have this function defined in my CEDET version. Strange...

from malabar-mode.

m0smith avatar m0smith commented on September 3, 2024

Try S-M-: and enter (symbol-function 'semantic-find-tags-by-class) and tell me what you get. I get
(macro . #[(class &optional table) "ÂÃ�ÄBB E�" [class table semantic--find-tags-by-macro eq (...)] 4 ("c:/Users/lpmsmith/projects/cedet/lisp/cedet/semantic/find.elc" . 7881)])

from malabar-mode.

lwiechec avatar lwiechec commented on September 3, 2024

Hi, I have something similar:

(macro . #[(class &optional table) "ÂÃ�ÄBB   E�" [class table semantic--find-tags-by-macro eq (...)] 4 ("/home/luke/.emacs.d/el-get/cedet/lisp/cedet/semantic/find.elc" . 7881)])

The macro is available; I have no clue why I am getting this message :/

from malabar-mode.

m0smith avatar m0smith commented on September 3, 2024

Looking at this again it looks similar to http://stackoverflow.com/questions/6432966/why-doesnt-application-of-function-returned-by-elisp-macro-work except the macro expands a let rather than a function

 (let 
   ((tags (semantic-something-to-tag-table scope)) (result nil))   
   (while tags (and (eq class (semantic-tag-class (car tags))) (setq result (cons (car tags) result))) (setq tags (cdr tags))) 
     (nreverse result) 

from malabar-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.