X-dea / flutter_vpn

Plugin to access VPN service for Flutter | Flutter 的 VPN 插件
GNU Lesser General Public License v3.0
345 stars 125 forks source link

PlatformException #120

Closed Sleader-m1 closed 1 year ago

Sleader-m1 commented 1 year ago

I have a message: PlatfowmException(error, null cannot be cast to non-null type kotlin.Int, null, java.lang.NullPointerException: null cannot be cast to non-null type kotlin.Int...) From here: try { await FlutterVpn.connectIkev2EAP( server: host, username: username, password: password, port: port); }catch (e) { setState(() { information = e.toString(); });

  }

Help please

sabertooth-academy commented 10 months ago

i am facing this problem too after using port. any idea why this happened?