我在Alloy应用程序中有一个表单(几个TextFields),当我点击" next"在TextField上键入时,我得到一个StackOverFlowError。我的布局:
<ScrollView>
`...
<View class="viewrow" layout="horizontal">
<Label class="ar-form-label">Salary</Label>
<TextField class="ar-form-field" id="salary"></TextField>
</View>
<View class="bigger-viewrow" layout="horizontal">
<Label class="form-label">Hours</Label>
<TextField class="ar-form-field" id="hours"></TextField>
</View>
...
</ScrollView>
有什么问题?
堆栈跟踪: [错误] TiApplication :( main)[94150,96506]发送事件:线程上的异常:main msg:java.lang.StackOverflowError;钛3.5.1,2015 / 03/05 10:08,96875c9 [错误] TiApplication:java.lang.StackOverflowError [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:637) [错误] TiApplication:在android.view.ViewGroup.addFocusables(ViewGroup.java:618) [错误] TiApplication:在android.view.View.getFocusables(View.java:3559) [错误] TiApplication:在android.view.FocusFinder.findNextFocus(FocusFinder.java:109) [错误] TiApplication:在android.view.FocusFinder.findNextFocus(FocusFinder.java:93) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:476) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.ViewGroup.focusSearch(ViewGroup.java:478) [错误] TiApplication:在android.view.View.focusSearch(View.java:3494) [错误] TiApplication:在android.widget.TextView.onCreateInputConnection(TextView.java:4701) [错误] TiApplication:在android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:945) [错误] TiApplication:在android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:1129) [错误] TiApplication:在android.view.inputmethod.InputMethodManager.isActive(InputMethodManager.java:542) [错误] TiApplication:在android.widget.TextView.onDraw(TextView.java:4184) [错误] TiApplication:在android.view.View.draw(Vie [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1646) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.View.draw(View.java:6883) [错误] TiApplication:在android.widget.FrameLayout.draw(FrameLayout.java:357) [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1646) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1644) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1644) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.View.draw(View.java:6986) [错误] TiApplication:在android.widget.FrameLayout.draw(FrameLayout.java:357) [错误] TiApplication:在android.widget.ScrollView.draw(ScrollView.java:1423) [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1646) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.View.draw(View.java:6883) [错误] TiApplication:在android.view.ViewGroup.drawChild(ViewGroup.java:1646) [错误] TiApplication:在android.view.ViewGroup.dispatchDraw(ViewGroup.java:1373) [错误] TiApplication:在android.view.View.draw(View.java:6883) [错误] TiApplication:在android.widget.FrameLayout.draw(FrameLayout.java:357) [错误] TiApplication:at andr - 结束申请日志--------------------------------------------- ----------