This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105998 - NoSuchMethodException when draw Derivation edge between Derivation classifier and Template Interface
Summary: NoSuchMethodException when draw Derivation edge between Derivation classifier...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords: REGRESSION
Depends on:
Blocks: 95999
  Show dependency tree
 
Reported: 2007-06-07 11:53 UTC by Alexandr Scherbatiy
Modified: 2007-06-25 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (49.08 KB, text/plain)
2007-06-07 11:54 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-06-07 11:53:29 UTC
build: netbeans-hudson-trunk-378-full.zip

Steps to reproduce:

- Create 'I' Interface element
- Add 'T' template parameter to the Interface element
- Create 'I' Derivation Classifier
- Draw a Derivation edge from the Derivation classifier to the
  Template Interface
  The exception pops up:
java.lang.NoSuchMethodException:
org.netbeans.modules.uml.core.metamodel.infrastructure.coreinfrastructure.Derivation.getTemplateParametersAsString()
Comment 1 Alexandr Scherbatiy 2007-06-07 11:54:30 UTC
Created attachment 43369 [details]
IDE log file
Comment 2 Yang Su 2007-06-12 23:08:48 UTC
This will go away when the preference issue gets fixed.
Comment 3 Yang Su 2007-06-13 19:48:04 UTC
not seen in 6/13/07 build
Comment 4 Alexandr Scherbatiy 2007-06-14 10:36:54 UTC
verified in netbeans-hudson-trunk-702-full.zip
Comment 5 Alexandr Scherbatiy 2007-06-14 10:47:40 UTC
The issue is reproduced when draw a Derivation edge between
unnamed  Derivation classifier and Template Interface

Steps to reproduce:
- Put an Interface Element on the diagram and name it 'MyInterface1'
- Add 'Type' template parameter to the interface element
- Put a Derivation classifier on the diagram
  Do not name the Derivation classifier
- Draw a Derivation edge from the Derivation classifier to the Interface element
  The NoSuchMethodException pops up.
Comment 6 Yang Su 2007-06-22 00:03:00 UTC
fixed DerivationClassifier.setNode()
Comment 7 Alexandr Scherbatiy 2007-06-25 11:38:16 UTC
verified in netbeans-6.0-nightly-200706230000-full-windows.exe