Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337247

Summary: [metatype] Error message from metatype is not helpful enough
Product: [Eclipse Project] Equinox Reporter: Alasdair Nottingham <alasdair>
Component: CompendiumAssignee: John Ross <jwross>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jwross, tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 334642    
Bug Blocks:    

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.