java.lang.NullPointerException: Could not set value for ASN.1 string object.

Oracle Community | 3004 | 1 decade ago
  1. 0

    ssl-handshake fails with scandinavian chars in client certificate

    Oracle Community | 1 decade ago | 3004
    java.lang.NullPointerException: Could not set value for ASN.1 string object.
  2. 0

    MUnit fails to scaffold a test suite from an APIKit router configured with the following raml file: {code:title=t-shirt.raml|borderStyle=solid} #%RAML 0.8 title: T-Shirt Ordering Service2 version: 1.0.development baseUri: /products: displayName: Products get: description: Get a list of all the inventory products responses: 200: body: application/json: example: | [ { "productCode": "TS", "size": "S", "description": "Small T-shirt", "count": 30 }, { "productCode": "TS", "size": "M", "description": "Medium T-shirt", "count": 22 } ] /orders: post: description: Places a new T-Shirt order body: application/json: example: | { "size": "M", "email": "", "name": "Robin Pille", "address1": "77 Geary St.", "address2": "Apt 7", "city": "San Francisco", "stateOrProvince": "CA", "country": "US", "postalCode": "94131" } schema: | { "type": "object", "$schema": "", "id": "", "required": true, "properties": { "address1": { "type": "string", "id": "", "required": true }, "address2": { "type": "string", "id": "", "required": true }, "city": { "type": "string", "id": "", "required": true }, "country": { "type": "string", "id": "", "required": true }, "email": { "type": "string", "format": "email", "id": "", "required": true }, "name": { "type": "string", "id": "", "required": true }, "size": { "type": "string", "enum": ["S", "M", "L", "XL", "XXL"], "id": "", "required": true }, "stateOrProvince": { "type": "string", "id": "", "required": true }, "postalCode": { "type": "string", "id": "", "required": true } } } /{orderId}/status: displayName: Status get: description: Get the status of an existing order responses: 200: body: application/json: example: | { "orderId": "4321", "status": "Delivered", "size": "M" } 400: body: application/json: example: | { "message": "The orderId doesn't match the specified e-mail" } queryParameters: email: description: Retrieve the status of an order with the same email that was used to place the order. pattern: ^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$ required: true {code} Error message: {quote} {color:red}Fail to create MUnit Test Suite from RAML.{color} {quote} {code:title=Exception Stacktrace} java.lang.NullPointerException: Can not set a null value for an Attribute at org.jdom2.Attribute.setValue( at org.jdom2.Attribute.<init>( at org.jdom2.Attribute.<init>( at org.jdom2.Element.setAttribute( at at at at at at at at at at org.mule.tooling.ui.contribution.munit.actions.CreateApiKitTestAction.createMunitFile( at org.mule.tooling.ui.contribution.munit.actions.CreateApiKitTestAction.createAndOpenMunitFile( at org.mule.tooling.ui.contribution.munit.actions.CreateApiKitTestAction.doRun( at at org.eclipse.jface.action.Action.runWithEvent( at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection( at org.eclipse.jface.action.ActionContributionItem.access$2( at org.eclipse.jface.action.ActionContributionItem$5.handleEvent( at org.eclipse.swt.widgets.EventTable.sendEvent( at org.eclipse.swt.widgets.Display.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Widget.sendEvent( at org.eclipse.swt.widgets.Widget.notifyListeners( at org.eclipse.swt.widgets.Display.runDeferredEvents( at org.eclipse.swt.widgets.Display.readAndDispatch( at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$ at org.eclipse.core.databinding.observable.Realm.runWithDefault( at at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI( at org.eclipse.ui.internal.Workbench$ at org.eclipse.core.databinding.observable.Realm.runWithDefault( at org.eclipse.ui.internal.Workbench.createAndRunWorkbench( at org.eclipse.ui.PlatformUI.createAndRunWorkbench( at org.eclipse.ui.internal.ide.application.IDEApplication.start( at at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start( at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.eclipse.equinox.launcher.Main.invokeFramework( at org.eclipse.equinox.launcher.Main.basicRun( at {code} {code:title=Session Data} eclipse.buildId=unknown java.version=1.8.0_72 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/fernandomujica/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data file:/Users/fernandomujica/AnypointStudio/workspaceBeta/ -keyring /Users/fernandomujica/.eclipse_keyring -showlocation {code}

    MuleSoft JIRA | 8 months ago | Fernando Mujica
    java.lang.NullPointerException: Can not set a null value for an Attribute
  3. 0

    no output from foundry/api/cinergi/docs/{resource}/{docid}

    GitHub | 5 months ago | valentinedwv
    java.lang.NullPointerException: Can not set a null value for an Attribute
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Setting a class property to an Enum value

    Stack Overflow | 4 years ago | TroyB
    java.lang.NullPointerException: Cannot set property 'value' on null object
  6. 0

    IPTC extraction throws error on valid image (2.7.0 regression)

    GitHub | 2 years ago | theefer
    java.lang.NullPointerException: cannot set a null String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Could not set value for ASN.1 string object.

      1. Source)
      2. Source)
      3. Source)
      4. Source)
      5. Source)
      6. Source)
      7. Source)
      8. Source)
      9. Source)
      10. Source)
      11. Source)
      12. Source)
      13. Source)
      14. Source)
      15. Source)
      16. Source)
      17. Source)
      18. Source)
      19. Source)
      20. Source)
      21. Source)
      22. Source)
      23. Source)
      24. Source)
      25. Source)
      26. Source)
      27. Source)
      28.<init>(Unknown Source)
      28 frames
    3. com.certicom.tls
      1. com.certicom.tls.record.handshake.MessageCertificate.<init>(Unknown Source)
      2. com.certicom.tls.record.handshake.HandshakeMessage.create(Unknown Source)
      3. com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(UnknownSource)
      4. com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
      5. com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
      6. com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
      7. com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(UnknownSource)
      7 frames
      1 frame
    5. weblogic.t3.srvr
      1. weblogic.t3.srvr.SSLListenThread$1.execute(
      1 frame
    6. weblogic.kernel
      1. weblogic.kernel.ExecuteThread.execute(
      2 frames