# 

**URL:** <https://forums.visual-paradigm.com/t/topic/10381>\
**Category:** Plug-in & Open API\
**Created:** [July 11, 2008, 7:29am UTC](https://forums.visual-paradigm.com/t/topic/10381 "2008-07-11T07:29:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous](https://avatars.discourse-cdn.com/v2/letter/a/8491ac/32.png) [@Anonymous](https://forums.visual-paradigm.com/u/Anonymous)\
**Post date:** [July 11, 2008, 7:29am UTC](https://forums.visual-paradigm.com/t/topic/10381/1 "2008-07-11T07:29:17Z")

</div>

Hi,  
I just upgraded to VP-SUITE-6.3 and trying to recompile my plugins I noticed there are several methods which have been removed from the API, therefore my plugin no longer compiles…  
For example the interface com.vp.plugin.model.IRequirement doesn’t have the methods: getRequirementId(), setRequirementId(), getKind(), setKind().  
All these methods are listed in the API documentation and were available in the previous version.

When I removed the methods from my plugin it doesn’t work correct:

```auto

[error] java.lang.UnsupportedClassVersionError: 
Bad version number in .class file
                at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at v.rae.i(:74)
	at v.ifyw.d(:96)
	at v.lnm.i(:24)
	at v.ifyw.f(:21)
	at v.ifyw.d(:44)
	at v.iscb.i(:57)
	at v.ifyw.f(:21)
	at v.ifyw.d(:44)
	at v.cfb.i(:36)
	at v.ifyw.f(:21)
	at v.ifyw.d(:44)
	at v.egi.i(:26)
	at v.ifyw.f(:21)
	at v.ifyw.d(:44)
	at v.qmz.i(:37)
	at v.ifyw.f(:21)
	at v.nfi.i(:46)
	at v.ijxq.i(:63)
	at v.ijxq.i(:30)
	at v.fifr.a(:109)
	at v.fifr.o(:74)
	at v.kvq.i(:453)
	at v.kvq.f(:297)
	at v.kvq.i(:40)
	at v.mwp.run(:83)
	at java.lang.Thread.run(Unknown Source)

```

Any help is appreciated.

Best regards,  
anita

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [July 11, 2008, 12:02pm UTC](https://forums.visual-paradigm.com/t/topic/10381/2 "2008-07-11T12:02:39Z")

</div>

Hi Anita,

Thanks for your post. I’ve forwarded the details to our engineers to follow-up. Once there is any feedback, I’ll come back to you immediately.

If there are any further inquiry, please do not hesitate to contact me.

Best regards,  
Lilian Wong

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [July 11, 2008, 1:53pm UTC](https://forums.visual-paradigm.com/t/topic/10381/3 "2008-07-11T13:53:58Z")

</div>

Hi Anita,

For the missing methods in API, after you have removed your plugin code which related to getRequirementId(), etc., you need to compile your plugin code.

We’re wondering if you are using JRE which is at newer version than the JRE in VP-UML. May I know what’s the version of JRE you are using? Thanks!

Best regards,  
Lilian Wong

---

<div class="post-metadata">

**Author:** ![Anonymous](https://avatars.discourse-cdn.com/v2/letter/a/8491ac/32.png) [@Anonymous](https://forums.visual-paradigm.com/u/Anonymous)\
**Post date:** [July 11, 2008, 2:18pm UTC](https://forums.visual-paradigm.com/t/topic/10381/4 "2008-07-11T14:18:20Z")

</div>

Hi,

Thanks for replying. I’m using jre1.6.0\_05.

Best regards,  
anita

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [July 12, 2008, 12:00pm UTC](https://forums.visual-paradigm.com/t/topic/10381/5 "2008-07-12T12:00:53Z")

</div>

Hi Anita,

Thanks for your reply. I suggest you to use jre 1.5 which is the same version as VP-UML’s.

I’ll keep you informed for the news about the missing method in API issue.

Best regards,  
Lilian Wong

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [July 14, 2008, 5:54pm UTC](https://forums.visual-paradigm.com/t/topic/10381/6 "2008-07-14T17:54:58Z")

</div>

Hi Anita,

I would like to inform you that we added back the functions:

- getRisk, setRisk
- getRequirementId, setRequirementId
- getVerifyMethod, setVerifyMethod
- getKind, setKind
- getSource, setSource

But the functions are marked “@deprecated”.  
Since VP-UML now supports configure Requirement with different attributes (Tool \> Configure Requirement), Risk/Requirement/VerifyMethod… are attributes of default “Requirement”, another “Requirement” may not support them. Therefore, the functions are marked “@deprecated”.  
If the “Requirement” does not support those attibutes, it will return null on get function, and will throw UnsupportedOperationException on set function.

You can download the patch at the link below:  
[http://files2.visual-paradigm.com/200807/Patch/20080707d/VP\_Suite\_Windows\_3\_3\_20080707d.exe](http://files2.visual-paradigm.com/200807/Patch/20080707d/VP_Suite_Windows_3_3_20080707d.exe)

If there is any inquiry, please feel free to ask.

Best regards,  
Lilian Wong

---

<div class="post-metadata">

**Author:** ![Anonymous](https://avatars.discourse-cdn.com/v2/letter/a/8491ac/32.png) [@Anonymous](https://forums.visual-paradigm.com/u/Anonymous)\
**Post date:** [July 18, 2008, 11:47pm UTC](https://forums.visual-paradigm.com/t/topic/10381/7 "2008-07-18T23:47:35Z")

</div>

Thank You!

anita

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [July 19, 2008, 8:21am UTC](https://forums.visual-paradigm.com/t/topic/10381/8 "2008-07-19T08:21:54Z")

</div>

Hi Anita,

You are welcome, so is the problem fixed with the patch?

Best regards,  
Lilian Wong
