You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
Object containing array of primitive data like number, string etc. should be fuzzed
Actual Behaviour
Null pointer exception is raised
Steps to Reproduce
Prepare a request containing body of primitive data types. Refer below for eg. { "type":"object", "properties":{ "fruits": { "type": "array", "items": { "type": "string" } } } }
Platform and Version
Ride fuzzer lib 2.0.0 and Ride core 2.0.0
Sample Code that illustrates the problem
Sample body example given above
Logs taken while reproducing problem
org.testng.TestNGException: The factory method class TestRide.PropertyAPI.TestSearch.fuzzObjectMetadata_IT() threw an exception at org.testng.internal.FactoryMethod.invoke(FactoryMethod.java:92) at org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:140) at org.testng.TestRunner.initMethods(TestRunner.java:402) at org.testng.TestRunner.init(TestRunner.java:228) at org.testng.TestRunner.init(TestRunner.java:198) at org.testng.TestRunner.<init>(TestRunner.java:154) at org.testng.remote.support.RemoteTestNG6_0$1.newTestRunner(RemoteTestNG6_0.java:26) at org.testng.remote.support.RemoteTestNG6_0$DelegatingTestRunnerFactory.newTestRunner(RemoteTestNG6_0.java:59) at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:561) at org.testng.SuiteRunner.init(SuiteRunner.java:156) at org.testng.SuiteRunner.<init>(SuiteRunner.java:110) at org.testng.TestNG.createSuiteRunner(TestNG.java:1235) at org.testng.TestNG.createSuiteRunners(TestNG.java:1222) at org.testng.TestNG.runSuitesLocally(TestNG.java:1074) at org.testng.TestNG.run(TestNG.java:999) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.FactoryMethod.invoke(FactoryMethod.java:80) ... 17 more Caused by: java.lang.NullPointerException at com.adobe.ride.libraries.fuzzer.MetadataFuzzer$ModelProperties.<init>(MetadataFuzzer.java:212) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.getObjectProperties(MetadataFuzzer.java:222) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.populateFuzzSet(MetadataFuzzer.java:247) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.populateFuzzSet(MetadataFuzzer.java:256) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.initializeFuzzer(MetadataFuzzer.java:173) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.<init>(MetadataFuzzer.java:143) at TestRide.PropertyAPI.TestSearch.fuzzObjectMetadata_IT(TestSearch.java:42) ... 22 more
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behaviour
Object containing array of primitive data like number, string etc. should be fuzzed
Actual Behaviour
Null pointer exception is raised
Steps to Reproduce
{ "type":"object", "properties":{ "fruits": { "type": "array", "items": { "type": "string" } } } }
Platform and Version
Ride fuzzer lib 2.0.0 and Ride core 2.0.0
Sample Code that illustrates the problem
Sample body example given above
Logs taken while reproducing problem
org.testng.TestNGException: The factory method class TestRide.PropertyAPI.TestSearch.fuzzObjectMetadata_IT() threw an exception at org.testng.internal.FactoryMethod.invoke(FactoryMethod.java:92) at org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:140) at org.testng.TestRunner.initMethods(TestRunner.java:402) at org.testng.TestRunner.init(TestRunner.java:228) at org.testng.TestRunner.init(TestRunner.java:198) at org.testng.TestRunner.<init>(TestRunner.java:154) at org.testng.remote.support.RemoteTestNG6_0$1.newTestRunner(RemoteTestNG6_0.java:26) at org.testng.remote.support.RemoteTestNG6_0$DelegatingTestRunnerFactory.newTestRunner(RemoteTestNG6_0.java:59) at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:561) at org.testng.SuiteRunner.init(SuiteRunner.java:156) at org.testng.SuiteRunner.<init>(SuiteRunner.java:110) at org.testng.TestNG.createSuiteRunner(TestNG.java:1235) at org.testng.TestNG.createSuiteRunners(TestNG.java:1222) at org.testng.TestNG.runSuitesLocally(TestNG.java:1074) at org.testng.TestNG.run(TestNG.java:999) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.FactoryMethod.invoke(FactoryMethod.java:80) ... 17 more Caused by: java.lang.NullPointerException at com.adobe.ride.libraries.fuzzer.MetadataFuzzer$ModelProperties.<init>(MetadataFuzzer.java:212) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.getObjectProperties(MetadataFuzzer.java:222) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.populateFuzzSet(MetadataFuzzer.java:247) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.populateFuzzSet(MetadataFuzzer.java:256) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.initializeFuzzer(MetadataFuzzer.java:173) at com.adobe.ride.libraries.fuzzer.MetadataFuzzer.<init>(MetadataFuzzer.java:143) at TestRide.PropertyAPI.TestSearch.fuzzObjectMetadata_IT(TestSearch.java:42) ... 22 more
The text was updated successfully, but these errors were encountered: