Skip to content

ART library cause application crash #16359

@sintylapse

Description

@sintylapse

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Environment:
  OS:  windows 10
  Node:  6.11.3
  npm:  3.10.10
  Android Studio: 2.3.3

Packages: (wanted => installed)
  react-native: 0.49.3 => 0.49.3
  react: 16.0.0-beta.5 => 16.0.0-beta.5

Target Platform: Android Emulator - Nexus_5x_API_26_x86

Steps to Reproduce

  1. Create new project
react-native init NotAwesomeUselessProject
cd NotAwesomeUselessProject
  1. Paste this code in App.js
import React from 'react'
import { ART, View } from 'react-native'

const { Surface, Group, Shape } = ART

export default class App extends React.Component {
    render(){
        return (
            <View>
                <Surface width={200} height={100}>
                    <Group x={0} y={0}>
                        <Shape
                            d={"M-68.9646319937036,-29.476762610114324A75,75,0,0,1,-49.345310456503256,-56.48044206582762L-20.635195356782273,-21.775874553905552A30,30,0,0,0,-27.086713440010442,-12.896121704557451Z"}
                            stroke={"#2ca02c"}
                            strokeWidth={3}
                        />
                    </Group>
                </Surface>
            </View>
        )
    }
}
  1. Run project
react-native run-android

Expected Behavior

I expect some graph to appear

Actual Behavior

Application is crashed without throwing any error

1

Reproducible Demo

https://snack.expo.io/r1u6yoJpW

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions