Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337247 - [metatype] Error message from metatype is not helpful enough
Summary: [metatype] Error message from metatype is not helpful enough
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Ross CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 334642
Blocks:
  Show dependency tree
 
Reported: 2011-02-15 15:28 EST by Alasdair Nottingham CLA
Modified: 2011-06-30 19:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alasdair Nottingham CLA 2011-02-15 15:28:45 EST
Build Identifier: org.eclipse.equinox.metatype_1.1.0.v20101217

I have serval bundles that provide metatype file in them. One of them has a bug which is reported via the message:

[ERROR   ] DataParser.init(String, Attributes, Vector) Default value cannot be null when cardinality is zero. Bundle:org.eclipse.equinox.metatype(id=12) 

the problem is this message doesn't help me to locate where the problem metatype xml is to fix it. It doesn't help me work out which bundle is wrong, or which attribute needs a non-null default, or the pid

Reproducible: Always
Comment 1 John Ross CLA 2011-02-15 15:38:45 EST
The outcome of Bug 334642 could affect this one.
Comment 2 John Ross CLA 2011-06-30 19:04:37 EDT
Closing since the solution for bug 334642 fixed this as well. Null default values are now allowed when cardinality is zero.