flutter_parallax icon indicating copy to clipboard operation
flutter_parallax copied to clipboard

The method '-' was called on null.

Open aarajput opened this issue 5 years ago • 7 comments

I am getting this exception.

aarajput avatar May 18 '20 11:05 aarajput

Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-US) • Flutter version 1.17.1 at /Users/ali/Tools/flutter • Framework revision f7a6a7906b (5 days ago), 2020-05-12 18:39:00 -0700 • Engine revision 6bc433c6b6 • Dart version 2.8.2

aarajput avatar May 18 '20 11:05 aarajput

Same here

════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following NoSuchMethodError was thrown during performLayout():
The method '-' was called on null.
Receiver: null
Tried calling: -(0.0)

The relevant error-causing widget was: 
  Parallax file://.../MyWidget.dart:64:31
When the exception was thrown, this was the stack: 
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1      RenderSliverMultiBoxAdaptor.childMainAxisPosition (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:573:37)
#2      RenderSliverHelpers.applyPaintTransformForBoxChild (package:flutter/src/rendering/sliver.dart:1695:20)
#3      RenderSliverMultiBoxAdaptor.applyPaintTransform (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:586:5)
#4      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2345:24)
...
The following RenderObject was being processed when the exception was fired: RenderParallaxSingleChildLayoutBox#09b2f relayoutBoundary=up10 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE

Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-NL)

elertan avatar May 25 '20 21:05 elertan

same here:

The method '-' was called on null. Receiver: null Tried calling: -(291.2934396619042) The relevant error-causing widget was Parallax

its still functioning correctly, but I am worried if that exception is going to cause errors down the line?

MrAbdul avatar May 27 '20 10:05 MrAbdul

Here also:

════════ Exception caught by rendering library ═════════════════════════════════ The method '-' was called on null. Receiver: null Tried calling: -(4040.780099161113) The relevant error-causing widget was Parallax

woutervanwijk avatar Jun 15 '20 14:06 woutervanwijk

me to...

crushman1 avatar Aug 04 '20 02:08 crushman1

+1

pnemonic78 avatar Aug 19 '20 07:08 pnemonic78

Same problem

alex-thmv avatar Sep 10 '20 12:09 alex-thmv