Bug 45356 [typing] IndentAction: Pressing Tab at document begin gives IAE
Build 200310150800: Having a multi-line comment starting at document offset 0, the caret as well at offset 0 and pressing tab, the indent action gives an IAE. Reason: The constructor of status called at IndentAction#run() requires a non- null message parameter. The exception that was triggered in the first place results from a taking the previous line of the first one.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java
getTextEditor().selectAndReveal(newOffset, newLength);
			
	}
	/**
	 * Indents a single line using the java heuristic scanner. Javadoc and multiline comments are 
	 * indented as specified by the <code>JavaDocAutoIndentStrategy</code>.
	 * 
	 * @param document the document
	 * @param line the line to be indented
	 * @param caret the caret position
	 * @param indenter the java indenter
	 * @param scanner the heuristic scanner
	 * @return <code>true</code> if <code>document</code> was modified, <code>false</code> otherwise
	 * @throws BadLocationException if the document got changed concurrently 
	 */
	private boolean indentLine(IDocument document, int line, int caret, JavaIndenter indenter, JavaHeuristicScanner scanner) throws BadLocationException {
		IRegion currentLine= document.getLineInformation(line);
		int offset= currentLine.getOffset();
		
		String indent= null;
		if (offset < document.getLength()) {
			ITypedRegion partition= TextUtilities.getPartition(document, IJavaPartitions.JAVA_PARTITIONING, offset);
			String type= partition.getType();
			if (partition.getOffset() < offset
					&& type.equals(IJavaPartitions.JAVA_DOC)
					|| type.equals(IJavaPartitions.JAVA_MULTI_LINE_COMMENT)) {