We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdcd75a + 59d6a57 commit ea84006Copy full SHA for ea84006
rxjava-core/src/main/java/rx/Observable.java
@@ -3745,7 +3745,8 @@ private boolean isInternalImplementation(Object o) {
3745
if (o instanceof AtomicObserver)
3746
return true;
3747
// we treat the following package as "internal" and don't wrap it
3748
- return o.getClass().getPackage().getName().startsWith("rx.operators");
+ Package p = o.getClass().getPackage(); // it can be null
3749
+ return p != null && p.getName().startsWith("rx.operators");
3750
}
3751
3752
public static class UnitTest {
0 commit comments