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
IRegion previousLine= document.getLineInformation(line - 1);
				
				DocumentCommand command= new DocumentCommand() {
				};
				command.text= "\n"; 
				command.offset= previousLine.getOffset() + previousLine.getLength();
				new JavaDocAutoIndentStrategy(IJavaPartitions.JAVA_PARTITIONING).customizeDocumentCommand(document, command);
				int i= command.text.indexOf('*');
				if (i != -1)
					indent= command.text.substring(1, i);
				else
					indent= command.text.substring(1);
			}
		} 
		
		
		if (indent == null)
			indent= indenter.computeIndentation(offset);
		
		
		if (indent == null)
			indent= new String();
		
		
		
		int lineLength= currentLine.getLength();
		int end= scanner.findNonWhitespaceForwardInAnyPartition(offset, offset + lineLength);
		if (end == JavaHeuristicScanner.NOT_FOUND)
			end= offset + lineLength;