Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330966 - NPE AT MAPPINGSGENERATOR.GENERATEDESCRIPTOR
Summary: NPE AT MAPPINGSGENERATOR.GENERATEDESCRIPTOR
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matt MacIvor CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 15:23 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:09 EDT (History)
0 users

See Also:


Attachments
Proposed Fix (2.46 KB, patch)
2010-11-23 15:34 EST, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt MacIvor CLA 2010-11-23 15:23:07 EST
jaxws-ri use asm to generate some jaxb content class (for wrapper bean and
faultInfo bean) in the runtime, and use these dynamically generated classes
to create a jaxbContext. I have tried dump these in-memery classes(as
byte[]s) into .class files, but the same error cannot be reproduced by this
way.

Caused by: java.lang.NullPointerException
    at
org.eclipse.persistence.jaxb.compiler.MappingsGenerator.generateDescriptor(Map
pingsGenerator.java:227)
    at
org.eclipse.persistence.jaxb.compiler.MappingsGenerator.generateProject(Mappin
gsGenerator.java:181)
    at
org.eclipse.persistence.jaxb.compiler.Generator.generateProject(Generator.java
:176)
    at
org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFacto
ry.java:313)
    at
org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFacto
ry.java:245)
Comment 1 Matt MacIvor CLA 2010-11-23 15:34:12 EST
Created attachment 183708 [details]
Proposed Fix
Comment 2 Matt MacIvor CLA 2010-11-23 15:35:27 EST
Attached patch checked in to SVN
Reviewed by David McCann
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:09:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink