Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bear's Frontman, command not found, I think

 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting the following thrown:

org.bibeault.frontman.CommandNotFoundException: Command with verb of Could not associate a Command implementation with command verb images not found

I think this is a command not found, but it seems to be built of two nested exceptions, with no hints as to what command it wants to find.

A quick look at the code seems to show the usual log4j debugging logs, but there is no mention in the documentation (or at least that I can see). What's a good set of parameters for my logging.properties?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, that is a whacky message. Not the intended helpful one. At least you should know which command you are trying to match by the URL. I'll look into that message. Thanks.

Logging on the CommandBroker at debug level should be instructive.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote: At least you should know which command you are trying to match by the URL.


Turning on DEBUG in log4j helped.

I could not tell which URL was breaking it. I had too many servlet -> jsp1 -> servlet2 -> jsp3 -> servlet4
to tell, it was some sort of internal bug or bugs on my part.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm ticked about the message. I hate when error messages aren't clear and to the point. I'll have to attend to that at first opportunity.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I see the problem. I'll get it fixed and publish a new point release.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the Blatant Advertising forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic