From 6b7f7acc6aa2a10c76cf020985691cb6ca5295e0 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Sun, 6 May 2007 11:09:57 +0000 Subject: [PATCH] Document ClassCastException problem. --- doc/faq.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/faq.xml b/doc/faq.xml index 1512b03..e8892d0 100644 --- a/doc/faq.xml +++ b/doc/faq.xml @@ -24,6 +24,7 @@ To update the table of contents execute the following vim command from a registe
  • Why do the options specified in the UMLOptions class stop working, when I pass the packagenames option to javadoc?
  • Why doesn't UMLGraph run under Mac OS X?
  • Can I create UML class diagrams from C++ code?
  • +
  • How can I get around a UMLGraphDoc crash with a ClassCastException?
  • What is the command line sequence to generate a UMLGraph class diagram?

    @@ -188,4 +189,14 @@ This blog entry describes a simple solution that has worked for me. Depending on your requirements YMMV. +

    How can I get around a UMLGraphDoc crash with a ClassCastException?

    +This happens due to a know javadoc bug. +By fixing the classpath used for the UNLGraph invocation you can avoid this +problem. +Olivier Duysens notes: +
    +JBuilder users need to go to Preferences/Build/Ant, +and tick the box "Use project libraries when running ant" to solve the issue. +
    +