Menu

#17 Exception when no PrimaryKey assigned

open
nobody
5
2002-11-22
2002-11-22
No

Don't know if you'd consider this a bug or not...
But... If you are an idiot like me, and forget to
create a Stereotype "PrimaryKey", and/or forget to
assign it to an attribute, you get an exception:

[java] BUILD FAILED
[java]
file:D:/DEV/JAVA/WORKSP~1/TESTUML/build.xml:86:
de.mbohlen.tools.uml
2ejb.anttasks.ClassTemplateProcessingException: Error
processing velocity script on IssueHeaderBean.java:
Invocation of method 'upperCaseFirstLetter' in class
de.mbohlen.tools.uml2ejb.anttasks.StringUtilsHelper
threw exception class java.lang.NullPointerException : null

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.