DeepLinkDispatch icon indicating copy to clipboard operation
DeepLinkDispatch copied to clipboard

queryParameterValue must not be null

Open masonHong opened this issue 3 years ago • 4 comments

I was using version 5.4.3, but when I upgraded to version 6.1.0, a crash occurred, so I checked it.

Fatal Exception: java.lang.NullPointerException: queryParameterValue must not be null
       at com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.queryAndPathParameters(BaseDeepLinkDelegate.java:530)
       at com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.createResult(BaseDeepLinkDelegate.java:286)
       at com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.dispatchFrom(BaseDeepLinkDelegate.java:70)
       at com.airbnb.deeplinkdispatch.BaseDeepLinkDelegate.dispatchFrom$default(BaseDeepLinkDelegate.java:64)

When I reproduced it, a crash occurs when Uri of the pattern below is used.

  • myScheme://host/path1/path2?query1&query2
  • myScheme://host/path1/path2?

Uri have a query with no value or with ? but no query.

Can you fix the problem?

masonHong avatar Jul 04 '22 02:07 masonHong

@EricKuck are we expecting a new release including that fix soon?

jackcsk avatar Dec 15 '22 11:12 jackcsk

I am not a maintainer on this project. Can't say if/when a new release is coming out.

EricKuck avatar Dec 15 '22 12:12 EricKuck

My bad, sorry Eric.

jackcsk avatar Dec 15 '22 13:12 jackcsk

@rossbacher : not sure if you are the right person to address to, or please help me to refer to the right person Wanna know when this fix will be included in the new release

jackcsk avatar Dec 15 '22 13:12 jackcsk