Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8137199

DIO VTS 1.1, rpi, b235: NPE from com.oracle.dio.registry.RegistryList.toString(RegistryList.java:76)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: embedded
    • Labels:
    • Subcomponent:
      dio
    • CPU:
      generic
    • OS:
      generic

      Description

      When running the test from DIO VTS 1.1 with rpi_pb.jti
      ============================================
      api/jdk/dio/DeviceManager/unregister1/index.html#GPinTests_gpin1

      ----------------------Agent Information----------------------
      AgentID=7ecbbbe0
      'com.sun.j2me.execution.proactive_commands.processed'='1d8bd0de:26171b00bb7b59d8:5'
      -------------------------------------------------------------
      command(after mapping): com.sun.tck.cdc.lib.ExecCLDCTestOnCDCSameJVMCmd com.oracle.tests.jdk.dio.DeviceManager.unregister1.GPinTests -gpin {"shareable":"false","mode":["4"],"pinNumber":"7","initTrigger":"0","trigger":["0"],"initValue":"0","intfClassName":"jdk.dio.gpio.GPIOPin","portNumber":"0","direction":"1"}
      java.lang.NullPointerException
      at com.oracle.dio.registry.RegistryList.toString(RegistryList.java:76)
      at com.oracle.dio.registry.RegistryData.toString(RegistryData.java:142)
      at com.oracle.dio.registry.RegistryImpl.register(RegistryImpl.java:97)
      at jdk.dio.DeviceManager.register(DeviceManager.java:929)
      at com.oracle.tests.jdk.dio.DeviceManager.unregister1.Unregister1Tests.unregister101(Unknown Source)
      at com.oracle.tests.jdk.dio.DeviceManager.unregister1.GPinTests.unregister101(Unknown Source)
      at com.oracle.tests.jdk.dio.DeviceManager.unregister1.GPinTests.runTestCases(Unknown Source)
      at com.sun.tck.cldc.lib.MultiTest.run(MultiTest.java:150)
      at com.sun.tck.cdc.lib.ExecCLDCTestOnCDCSameJVMCmd.executeCLDCTest(ExecCLDCTestOnCDCSameJVMCmd.java:261)
      at com.sun.tck.cdc.lib.ExecCLDCTestOnCDCSameJVMCmd.run(ExecCLDCTestOnCDCSameJVMCmd.java:196)
      at com.sun.tck.j2me.agent.J2SEPlatformAdapter.execute(J2SEPlatformAdapter.java:97)
      at com.sun.tck.j2me.execution.baseclient.BaseAgent.executeRequests(BaseAgent.java:242)
      at com.sun.tck.j2me.execution.client.Agent.access$000(Agent.java:62)
      at com.sun.tck.j2me.execution.client.Agent$Executor.run(Agent.java:108)
      Unexpected exception while registering config jdk.dio.gpio.GPIOPinConfig@eb9d2f: java.lang.NullPointerException
      unregister101: Failed. See log for details

        Attachments

          Activity

            People

            Assignee:
            snazarki Sergey Nazarkin
            Reporter:
            bkvartsk Boris Kvartskhava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: