Issue Details (XML | Word | Printable)

Key: BPBC-9
Type: Support Request Support Request
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jonathan doklovic
Reporter: Toby Nunn
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Bamboo Pre/Post-Build Command plugin

Incompatible class version; JDK compile issue?

Created: 26/Jun/08 02:21 PM   Updated: 27/Jun/08 03:52 PM
Component/s: postbuild
Affects Version/s: 1.1.0
Fix Version/s: 1.1.1

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments: 1. Java Archive File prepost-build-command-1.1.1.jar (13 kB)

Environment: Linux Fedora Core3

Labels:

Sub-Tasks  All   Open   

 Description  « Hide
After installing the plugin, the bamboo.log reveals the following problem related to the plugin:

2008-06-26 13:38:41,577 ERROR [main] [XmlDescriptorParser] There was a problem loading the descriptor for module 'preBuildAction' in plugin 'PostBuildCommand'.
Class version is incompatible with current JVM: com.sysbliss.bamboo.plugins.PreBuildCommandAction

Can the JAR simply be re-compiled with JDK 1.5?



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
jonathan doklovic added a comment - 27/Jun/08 12:56 PM
It should have been compiled against jdk 1.5.
I'll check the class version in the jar.
can you tell me which exact jdk you are running bamboo on?

Toby Nunn added a comment - 27/Jun/08 01:22 PM
Looks like the following:
Java Version: 1.4.2_09
Java Vendor: Sun Microsystems Inc.
JVM Version: 1.0
JVM Vendor: Sun Microsystems Inc.
JVM Implementation Version: 1.4.2_09-b05
Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition
Java VM: Java HotSpot(TM) Server VM

So we should update our JDK to run under 1.5?


jonathan doklovic added a comment - 27/Jun/08 01:40 PM
If I'm correct, it looks like you're running bamboo 1.2.x?
If so, I can try to rebuild the 1.2.x version of the plugin for jdk 1.4

Keep in mind, if you are planning to upgrade to bamboo 2.x, it requires jdk 1.5


Toby Nunn added a comment - 27/Jun/08 01:44 PM
I did check on an upgrade to 2.x but we are currently no licensed to do so. So, in the mean time, if you were able to provide a 1.4 compatible jar, it would be much appreciated!

Thanks Jonathan.


jonathan doklovic added a comment - 27/Jun/08 03:18 PM - edited
I've attached v1.1.1 to this issue.
v1.1.1 is simply a recompile of 1.1.0 using jdk 1.4.2

I will add it to svn and the confluence page in the near future.