DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-1098
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Chris Colman
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

DN Core 3.2.10 file uses PremainClass but agent option is looking for Premain-Class - prevents runtime enhancement

Created: 22/Dec/13 12:19 AM   Updated: 14/Jan/14 11:22 AM   Resolved: 22/Dec/13 06:55 AM
Component/s: Enhancer
Affects Version/s: 3.2.10
Fix Version/s: None

Windows XP

Forum Thread URL:,7639_offset,0

 Description  « Hide
With older versions of DN (3.2.9 and earlier) the file in the core jar contains the

Premain-Class attribute.

3.2.10 and later include:

PremainClass attribute (note: no hyphen)

At start I see the following error:

Error occurred during initialization of VM
Failed to find Premain-Class manifest attribute in D:/libs/datanucleus/3/latest/datanucleus-core-3.2.11-20131221.013122-1.jar
agent library failed to init: instrument

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 22/Dec/13 06:55 AM
Using nightly builds for some reason yet thinking that is released software?

Chris Colman added a comment - 29/Dec/13 08:56 PM
The 'Won't Fix' could be misleading as this issue is in fact now fixed in github master branch. The 'Won't Fix' status is in reference to the fact that this issue was not an issue with released software, only the nightly builds and so I should never have reported it in JIRA to begin with.