Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 1 | page.title=Report Bugs |
| 2 | @jd:body |
| 3 | |
| 4 | <!-- |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 5 | Copyright 2015 The Android Open Source Project |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 6 | |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | --> |
| 19 | <div id="qv-wrapper"> |
| 20 | <div id="qv"> |
| 21 | <h2>In this document</h2> |
| 22 | <ol id="auto-toc"> |
| 23 | </ol> |
| 24 | </div> |
| 25 | </div> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 26 | |
| 27 | <p>Thank you for your interest in Android! One of the best ways you can help us |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 28 | improve Android is to let us know about any problems you find with it.</p> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 29 | <h2 id="report-issues">Report Issues</h2> |
Clay Murphy | 10b9550 | 2015-11-05 17:23:42 -0800 | [diff] [blame] | 30 | <p class="note"><strong>Note:</strong> For security vulnerabilities, please use |
| 31 | the AOSP bug tracker <a |
| 32 | href="https://code.google.com/p/android/issues/entry?template=Security%20bug%20report">Security |
| 33 | bug report</a> template. See <a |
| 34 | href="{@docRoot}security/overview/updates-resources.html#report-issues">Reporting |
| 35 | Security Issues</a> for additional details.</p> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 36 | <p>Here's how to report <strong>non-security</strong> bugs:</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 37 | <ul> |
Clay Murphy | 10b9550 | 2015-11-05 17:23:42 -0800 | [diff] [blame] | 38 | <li> |
Jean-Baptiste Queru | 05437cd | 2013-06-18 15:46:06 -0700 | [diff] [blame] | 39 | <p><a href="https://code.google.com/p/android/issues/advsearch">Search for |
| 40 | your bug</a> to see if anyone has already reported it. Don't forget to |
| 41 | search for all issues, not just open ones, as your issue might already |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 42 | have been reported and closed. To help you find the most popular results, |
Jean-Baptiste Queru | 05437cd | 2013-06-18 15:46:06 -0700 | [diff] [blame] | 43 | sort the result by number of stars.</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 44 | </li> |
| 45 | <li> |
| 46 | <p>If you find your issue and it's important to you, star it! That's how we know which bugs are most important to fix.</p> |
| 47 | </li> |
| 48 | <li> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 49 | <p>If no one has reported your bug, file the bug. You can use one of these templates:</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 50 | <ul> |
| 51 | <li> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 52 | <p><a href="https://code.google.com/p/android/issues/entry?template=User%20bug%20report">Bug in your Device</a> - |
| 53 | use this if you are a user reporting a bug in a device you own</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 54 | </li> |
| 55 | <li> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 56 | <p><a href="https://code.google.com/p/android/issues/entry?template=Developer%20bug%20report">Bug in the Software</a> - |
| 57 | use this if you found a bug in the course of developing an app</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 58 | </li> |
| 59 | <li> |
Bert McMeen | 9cb839d | 2015-04-20 14:10:47 -0700 | [diff] [blame] | 60 | <p><a href="https://code.google.com/p/android/issues/entry?template=Feature%20request">Feature Request</a> - |
| 61 | use this for a feature you'd like to see in a future verison</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 62 | </li> |
| 63 | </ul> |
| 64 | </li> |
| 65 | </ul> |
Jean-Baptiste Queru | 05437cd | 2013-06-18 15:46:06 -0700 | [diff] [blame] | 66 | <p>Keep in mind that an issue tracker is not a user support forum. It is a list |
| 67 | of pending technical tasks, along with information relevant for those tasks, |
| 68 | and information about progress on those tasks including which ones might |
| 69 | get worked on in the short term.</p> |
| 70 | <p>This issue tracker is narrowly focused on the Android Open Source Project. |
| 71 | Issues with retail devices need to be reported through those devices' support |
| 72 | channels, especially for devices other than Nexus. Issues with applications |
| 73 | that aren't part of AOSP need to be reported with those applications' |
| 74 | developers; that is also the case for Google applications.</p> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 75 | <p>Please note that we can't guarantee that any particular bug can be fixed in |
| 76 | any particular release. To see what happens to your bug once you report it, |
| 77 | read <a href="life-of-a-bug.html">Life of a Bug</a>.</p> |
| 78 | <p>In general, please put as much info in bugs as you can. Just a one liner |
| 79 | telling us something isn't working is usually useless, and will probably be |
| 80 | closed without any action. The more detail you provide, the more likely your |
| 81 | issue is to be resolved. Below, there are some examples of a good bug report |
| 82 | and a poor bug report.</p> |
| 83 | |
| 84 | <h2 id="a-poor-bug-report">A Poor Bug Report</h2> |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 85 | <blockquote> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 86 | Title: Error message |
| 87 | |
| 88 | When running Eclipse I get an "Internal Error" that says "See the .log file for more details". |
| 89 | |
| 90 | Steps to reproduce: |
| 91 | Happens when "Object o = null". Doesn't happen when changed to "Object o". |
| 92 | |
| 93 | Expected results: |
| 94 | I wouldn't get the error message--would work with Object o = null. |
| 95 | |
| 96 | Observed results: |
| 97 | See above. |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 98 | </blockquote> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 99 | <p>This is a poor bug report because it doesn't provide any context for the |
Clay Murphy | e4edda6 | 2014-10-16 19:00:15 -0700 | [diff] [blame] | 100 | issue; is it a problem in the ART runtime, the core framework, or |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 101 | something else? It also doesn't provide any code or hint on how to reproduce |
| 102 | it. In other words, this bug report doesn't provide enough information for |
| 103 | anyone to take action on, so it would be ignored.</p> |
| 104 | <h2 id="a-good-bug-report">A Good Bug Report</h2> |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 105 | <blockquote> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 106 | Title: Stepping over "Object o = null" causes Eclipse "Internal Error" |
| 107 | |
| 108 | Interesting bug, while using Eclipse 3.3.1.1 with m37a of android and the following code: |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 109 | <pre> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 110 | package com.saville.android; |
| 111 | |
| 112 | import android.app.Activity; |
| 113 | import android.os.Bundle; |
| 114 | import android.util.Log; |
| 115 | |
| 116 | public class TestObjectNull extends Activity { |
| 117 | /** Called when the activity is first created. */ |
| 118 | @Override |
| 119 | public void onCreate(Bundle icicle) { |
| 120 | super.onCreate(icicle); |
| 121 | setContentView(R.layout.main); |
| 122 | |
| 123 | Object o = null; |
| 124 | |
| 125 | o = "hi"; |
| 126 | |
| 127 | Log.v(TAG, "o=" + o); |
| 128 | } |
| 129 | |
| 130 | static final String TAG = "TestObjectNull"; |
| 131 | } |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 132 | </pre> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 133 | Eclipse indicates an "Internal Error" with "See the .log file for more |
| 134 | details" and then asks if I want to exit the workbench. This occurs when I |
| 135 | place a break point on "setContentView(R.layout.main);" and then single |
| 136 | step over "Object o = null;" |
| 137 | |
| 138 | If I change "Object o = null;" to "Object o" all is well. |
| 139 | |
| 140 | The last lines of the .log file are: |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 141 | <pre> |
Robert Ly | 35f2fda | 2013-01-29 16:27:05 -0800 | [diff] [blame] | 142 | !ENTRY org.eclipse.core.jobs 4 2 2008-01-01 13:04:15.825 |
| 143 | !MESSAGE An internal error occurred during: "has children update". |
| 144 | !STACK 0 |
| 145 | java.lang.InternalError: Invalid signature: "<null>" |
| 146 | at |
| 147 | org.eclipse.jdi.internal.TypeImpl.signatureToTag(TypeImpl.java:307) |
| 148 | at |
| 149 | org.eclipse.jdi.internal.LocalVariableImpl.tag(LocalVariableImpl.java:185) |
| 150 | at |
| 151 | org.eclipse.jdi.internal.StackFrameImpl.getValues(StackFrameImpl.java:128) |
| 152 | at |
| 153 | org.eclipse.jdi.internal.StackFrameImpl.getValue(StackFrameImpl.java:73) |
| 154 | at |
| 155 | org.eclipse.jdt.internal.debug.core.model.JDILocalVariable.retrieveValue(JDILocalVariable.java:57) |
| 156 | at |
| 157 | org.eclipse.jdt.internal.debug.core.model.JDIVariable.getCurrentValue(JDIVariable.java:66) |
| 158 | at |
| 159 | org.eclipse.jdt.internal.debug.core.model.JDIVariable.getValue(JDIVariable.java:88) |
| 160 | at |
| 161 | org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.hasChildren(VariableContentProvider.java:62) |
| 162 | at |
| 163 | org.eclipse.jdt.internal.debug.ui.variables.JavaVariableContentProvider.hasChildren(JavaVariableContentProvider.java:73) |
| 164 | at |
| 165 | org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.updateHasChildren(ElementContentProvider.java:223) |
| 166 | at |
| 167 | org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$3.run(ElementContentProvider.java:200) |
| 168 | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) |
Jean-Baptiste Queru | 05437cd | 2013-06-18 15:46:06 -0700 | [diff] [blame] | 169 | </pre> |
Clay Murphy | 291670d | 2014-09-09 16:26:00 -0700 | [diff] [blame] | 170 | </blockquote> |