| Summary: | NPE AT MAPPINGSGENERATOR.GENERATEDESCRIPTOR | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matt MacIvor <matt.macivor> | ||||
| Component: | Eclipselink | Assignee: | Matt MacIvor <matt.macivor> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 183708 [details]
Proposed Fix
Attached patch checked in to SVN Reviewed by David McCann The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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)