Dan Morrill | 3cd199f | 2009-11-06 14:04:16 -0800 | [diff] [blame] | 1 | page.title=Report Bugs |
| 2 | doc.type=source |
| 3 | @jd:body |
| 4 | <div> |
| 5 | <p>Thanks for your interest in Android! One of the best ways you can help us |
| 6 | improve Android is to let us know about any problems you find with it.</p> |
| 7 | <p>First, though: if you think you've found a security vulnerability, |
| 8 | <b>please don't use the forms below</b>. (Using the public forms below may |
| 9 | allow anyone to see your report, which may put users at risk until the bug is |
| 10 | fixed.) Instead, please report security bugs to our security team by emailing |
| 11 | <a href="mailto:security@android.com">security@android.com</a>. We believe in |
| 12 | responsible disclosure of security vulnerabilities, and will give you proper |
| 13 | attribution for any issues you report.</p> |
| 14 | <p>Here's how to report non-security bugs:</p> |
| 15 | <ol> |
| 16 | <li><a href="http://code.google.com/p/android/issues/advsearch">Search for |
| 17 | your bug</a> to see if anyone has already reported it.</li> |
| 18 | <li>If you find your issue and it's important to you, star it! That's how we |
| 19 | know which bugs are most important to fix.</li> |
| 20 | <li>If no one's reported your bug, file the bug. You can use one of these |
| 21 | templates:<ul> |
| 22 | <li><a |
| 23 | href="http://code.google.com/p/android/issues/entry?template=User%20bug%20report">Bugs |
| 24 | in your Device (for users)</a></li> |
| 25 | <li><a |
| 26 | href="http://code.google.com/p/android/issues/entry?template=Developer%20bug%20report">Bugs |
| 27 | in the Software (for developers)</a></li> |
| 28 | <li><a |
| 29 | href="http://code.google.com/p/android/issues/entry?template=Feature%20request">Request |
| 30 | a New Feature</a></li> |
| 31 | </ul></li> |
| 32 | </ol> |
| 33 | <p>Please note that we can't guarantee that any particular bug can be fixed in |
| 34 | any particular release. To see what happens to your bug once you report it, |
| 35 | read <a href="{@docRoot}source/life-of-a-bug.html">Life of a Bug</a>.</p> |
| 36 | <p>In general, please put as much info in bugs as you can. Just a one liner |
| 37 | telling us something isn't working is usually useless, and will probably be |
| 38 | closed without any action. The more detail you provide, the more likely your |
| 39 | issue is to be resolved. Below, there are some examples of a good bug report |
| 40 | and a poor bug report.</p> |
| 41 | <h3>A Poor Bug Report</h3> |
| 42 | <pre> |
| 43 | Title: Error message |
| 44 | |
| 45 | When running Eclipse I get an "Internal Error" that says "See the .log file |
| 46 | for more details". |
| 47 | |
| 48 | Steps to reproduce: |
| 49 | Happens when "Object o = null". Doesn't happen when changed to "Object o". |
| 50 | |
| 51 | Expected results: |
| 52 | I wouldn't get the error message--would work with Object o = null. |
| 53 | |
| 54 | Observed results: |
| 55 | See above. |
| 56 | </pre> |
| 57 | <h3>A Good Bug Report</h3> |
| 58 | <pre> |
| 59 | Title: Stepping over "Object o = null" causes Eclipse "Internal Error" |
| 60 | |
| 61 | Interesting bug, while using Eclipse 3.3.1.1 with m37a of android and |
| 62 | the following code: |
| 63 | |
| 64 | package com.saville.android; |
| 65 | |
| 66 | import android.app.Activity; |
| 67 | import android.os.Bundle; |
| 68 | import android.util.Log; |
| 69 | |
| 70 | public class TestObjectNull extends Activity { |
| 71 | /** Called when the activity is first created. */ |
| 72 | @Override |
| 73 | public void onCreate(Bundle icicle) { |
| 74 | super.onCreate(icicle); |
| 75 | setContentView(R.layout.main); |
| 76 | |
| 77 | Object o = null; |
| 78 | |
| 79 | o = "hi"; |
| 80 | |
| 81 | Log.v(TAG, "o=" + o); |
| 82 | } |
| 83 | |
| 84 | static final String TAG = "TestObjectNull"; |
| 85 | |
| 86 | } |
| 87 | |
| 88 | Eclipse indicates an "Internal Error" with "See the .log file for more |
| 89 | details" and then asks if I want to exit the workbench. This occurs when I |
| 90 | place a break point on "setContentView(R.layout.main);" and then single |
| 91 | step over "Object o = null;" |
| 92 | |
| 93 | If I change "Object o = null;" to "Object o" all is well. |
| 94 | |
| 95 | The last lines of the .log file are: |
| 96 | |
| 97 | !ENTRY org.eclipse.core.jobs 4 2 2008-01-01 13:04:15.825 |
| 98 | !MESSAGE An internal error occurred during: "has children update". |
| 99 | !STACK 0 |
| 100 | java.lang.InternalError: Invalid signature: "<null>" |
| 101 | at |
| 102 | org.eclipse.jdi.internal.TypeImpl.signatureToTag(TypeImpl.java:307) |
| 103 | at |
| 104 | org.eclipse.jdi.internal.LocalVariableImpl.tag(LocalVariableImpl.java:185) |
| 105 | at |
| 106 | org.eclipse.jdi.internal.StackFrameImpl.getValues(StackFrameImpl.java:128) |
| 107 | at |
| 108 | org.eclipse.jdi.internal.StackFrameImpl.getValue(StackFrameImpl.java:73) |
| 109 | at |
| 110 | org.eclipse.jdt.internal.debug.core.model.JDILocalVariable.retrieveValue(JDILocalVariable.java:57) |
| 111 | at |
| 112 | org.eclipse.jdt.internal.debug.core.model.JDIVariable.getCurrentValue(JDIVariable.java:66) |
| 113 | at |
| 114 | org.eclipse.jdt.internal.debug.core.model.JDIVariable.getValue(JDIVariable.java:88) |
| 115 | at |
| 116 | org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.hasChildren(VariableContentProvider.java:62) |
| 117 | at |
| 118 | org.eclipse.jdt.internal.debug.ui.variables.JavaVariableContentProvider.hasChildren(JavaVariableContentProvider.java:73) |
| 119 | at |
| 120 | org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.updateHasChildren(ElementContentProvider.java:223) |
| 121 | at |
| 122 | org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$3.run(ElementContentProvider.java:200) |
| 123 | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) |
| 124 | </pre> |
| 125 | </div> |