Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 560 by usman.bh...(a)gmail.com: parentType bug in Java model
http://code.google.com/p/moose-technology/issues/detail?id=560
Describe the problem: what do you get? what do you expect?
I import Java mse (VerveineJ) and I want to run a small program to
calculate all outgoing relationships of all the classes present in the mse.
I get this message below:
FAMIXClass(Object)>>doesNotUnderstand: #parentType
Receiver: FontChooserMain in org::jhotdraw::samples::font (Type)
Arguments and temporary variables:
aMessage: parentType
exception: MessageNotUnderstood:
How to reproduce the problem: step by step if necessary
import java mse with VerveineJ
Add SoftEngMetrics package from Montecello.
CohesionCouplingReport
generateReportv7ForModel: 'JHotDraw_7.6-swing-awt-VerveineJ'
fileName: 'JHotDraw_7.6-swing-awt-VerveineJ-',(Date today
printString),'.csv'.
Additional information: platform, context which may impact the problem
Last three message from execution context:
FAMIXClass(Object)>>doesNotUnderstand: #parentType
Receiver: FontChooserMain in org::jhotdraw::samples::font (Type)
Arguments and temporary variables:
aMessage: parentType
exception: MessageNotUnderstood: FAMIXClass>>parentType
resumeValue: nil
Receiver's instance variables:
mooseID: 564997
state: a MooseDefaultState
sourceAnchor: a FAMIXFileAnchor #noname
sourceLanguage: nil
comments: an Array(/**
* FontChooserMain....:31:24Z rawcoder $
*/
(comment ...etc...
declaredSourceLanguage: nil
name: 'FontChooserMain'
isStub: false
receivingInvocations: #()
modifiers: a Set(#isPublic)
parentPackage: nil
outgoingReferences: #()
types: #()
incomingReferences: #()
subInheritances: #()
methods: an Array(FontChooserMain>>FontChooserMain() (Method)
FontChooserMain>>...etc...
container: org (Namespace)::jhotdraw (Namespace)::samples
(Namespace)::font (Na...etc...
superInheritances: an Array(FontChooserMain -> JPanel (Inheritance))
attributes: #()
isInterface: nil
FAMIXInvocation>>getReceivingFAMIXClass
Receiver: FontChooserMain -> self#initComponents() (Invocation)
Arguments and temporary variables:
tmpReceiver: FontChooserMain.self (ImplicitVariable)
belongsTo: nil
Receiver's instance variables:
mooseID: 679516
state: a MooseDefaultState
sourceAnchor: nil
sourceLanguage: nil
comments: #()
declaredSourceLanguage: nil
previous: nil
next: FontChooserMain -> self#add(Component) (Invocation)
sender: FontChooserMain>>FontChooserMain() (Method)
receiver: FontChooserMain.self (ImplicitVariable)
receiverSourceCode: nil
signature: 'initComponents()'
candidates: an Array(FontChooserMain>>initComponents() (Method))
Please fill in the labels with the following information:
* Type-Defect, Type-Enhancement, Type-Engineering, Type-Review, Type-Other
* Component-XXX