IBM Support

LO49082: USING JAXB GIVES ILLEGALACCESSERROR ON DOMINO 8.5.1

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • To reproduce use a set of classes automatically generated using
    the JAXB interfaces.
    Run the piece of code on the server via an agent run over http.
    
    Using default configuration you will get an error message:
    Error
    java.lang.IllegalAccessError: Class
    com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$FieldRefle
    ction can not
    access a member of class generated.Note with modifiers
    "protected"
       at
    com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$FieldRefle
    ction.get(Access
    or.java:206)
       at
    com.sun.xml.internal.bind.v2.runtime.reflect.Accessor.getUnadapt
    ed(Accessor.java
    :120)
       at
    com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor$
    CompositeTransdu
    cedAccessorImpl.hasValue(TransducedAccessor.java:221)
       at
    com.sun.xml.internal.bind.v2.runtime.property.SingleElementLeafP
    roperty.serializ
    eBody(SingleElementLeafProperty.java:72)
       at
    com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serialize
    Body(ClassBeanIn
    foImpl.java:300)
       at
    com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsSoleCo
    ntent(XMLSeriali
    zer.java:582)
       at
    com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.serialize
    Root(ClassBeanIn
    foImpl.java:290)
       at
    com.sun.xml.internal.bind.v2.runtime.XMLSerializer.childAsRoot(X
    MLSerializer.jav
    a:483)
       at
    com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(Marsha
    llerImpl.java:31
    2)
       at
    com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(Mars
    hallerImpl.java:
    241)
       at javax.xml.bind.JAXB._marshal(JAXB.java:558)
       at javax.xml.bind.JAXB.marshal(JAXB.java:442)
       at JAXBTestAgent.NotesMain(Unknown Source)
       at lotus.domino.AgentBase.runNotes(Unknown Source)
       at lotus.domino.NotesThread.run(Unknown Source)
    
    To work around this, place the following permission in the
    java.policy file:
    permission java.lang.reflect.ReflectPermission
    "suppressAccessChecks";
    
    in the "grant" clause of <Domino Program
    Directory>/jvm/lib/security/java.policy
    
    This is expected to work with default configuration, rather than
    having to go
    editing the standard config.
    

Local fix

  • To work around this, place the following permission in the
    java.policy file:
    permission java.lang.reflect.ReflectPermission
    "suppressAccessChecks";
    
    in the "grant" clause of <Domino Program
    Directory>/jvm/lib/security/java.policy
    

Problem summary

  • Low priority closures
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# BHUY82WG3Z.
    This was closed as part of a batch closure of sprs with minimal
     customer impact. Low weight, Sev 3 or lower, and a defect
     creation date of 12/31/2012 or earlier. If this issue persists
     in 9.0.1 or above by additional customers, it may be re-raised
     for triage.
    

APAR Information

  • APAR number

    LO49082

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    851

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-22

  • Closed date

    2014-03-04

  • Last modified date

    2014-03-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R851 PSN

       UP



Document information

More support for: IBM Domino

Software version: 8.5.1

Reference #: LO49082

Modified date: 04 March 2014


Translate this page: