Bug 7600 Exception in TemplateCollector
Java Model Exception: Java Model Status [Invalid path: /A.java.] Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/core/runtime/CoreException.<init> (Lorg/eclipse/core/runtime/IStatus;)V org/eclipse/jdt/core/JavaModelException.<init> (Lorg/eclipse/jdt/core/IJavaModelStatus;)V org/eclipse/jdt/internal/core/JavaProject.findElement (Lorg/eclipse/core/runtime/IPath;)Lorg/eclipse/jdt/core/IJavaElement; org/eclipse/jdt/internal/corext/util/JavaModelUtil.findType (Lorg/eclipse/jdt/core/IJavaProject;Ljava/lang/String;) Lorg/eclipse/jdt/core/IType; org/eclipse/jdt/internal/ui/text/template/TemplateCollector.isSubclassOf (Ljava/lang/String;Ljava/lang/String;)Z org/eclipse/jdt/internal/ui/text/template/TemplateCollector.findLocalCollections ()[Lorg/eclipse/jdt/internal/ui/text/template/TemplateCollector$LocalVariable; org/eclipse/jdt/internal/ui/text/template/TemplateCollector.evaluate (Ljava/lang/String;)Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.guessVariableNames() V org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.getDocument(I) Lorg/eclipse/jface/text/IDocument; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.evaluate() Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateProposal.getAdditionalProposal Info()Ljava/lang/String; org/eclipse/jface/text/contentassist/AdditionalInfoController.computeInformation ()V org/eclipse/jface/text/AbstractInformationControlManager.showInformation()V org/eclipse/jface/text/contentassist/AdditionalInfoController$1.run()V org/eclipse/swt/widgets/RunnableLock.run()V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/jface/window/Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;) V org/eclipse/jface/window/Window.open()I org/eclipse/jface/dialogs/MessageDialog.openError (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.openErrorDialog (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/Exception;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.evaluate (Ljava/lang/String;)Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.guessVariableNames() V org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.getDocument(I) Lorg/eclipse/jface/text/IDocument; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.evaluate() Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateProposal.getAdditionalProposal Info()Ljava/lang/String; org/eclipse/jface/text/contentassist/AdditionalInfoController.computeInformation ()V org/eclipse/jface/text/AbstractInformationControlManager.showInformation()V org/eclipse/jface/text/contentassist/AdditionalInfoController$1.run()V org/eclipse/swt/widgets/RunnableLock.run()V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/ui/internal/Workbench.runEventLoop()V org/eclipse/ui/internal/Workbench.run(Ljava/lang/Object;)Ljava/lang/Object; org/eclipse/core/internal/boot/InternalBootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; org/eclipse/core/boot/BootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; SlimLauncher.main([Ljava/lang/String;)V 4 org.eclipse.jdt.core 979 Invalid path: /A.java. Log: Tue Jan 15 14:58:19 CET 2002 4 org.eclipse.core.runtime 0 Unhandled exception caught in event loop. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/swt/SWTException.<init>(ILjava/lang/String;)V org/eclipse/swt/SWTException.<init>(I)V org/eclipse/swt/SWT.error(ILjava/lang/Throwable;)V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/jface/window/Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;) V org/eclipse/jface/window/Window.open()I org/eclipse/jface/dialogs/MessageDialog.openError (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.openErrorDialog (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/Exception;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.evaluate (Ljava/lang/String;)Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.guessVariableNames() V org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.getDocument(I) Lorg/eclipse/jface/text/IDocument; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.evaluate() Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateProposal.getAdditionalProposal Info()Ljava/lang/String; org/eclipse/jface/text/contentassist/AdditionalInfoController.computeInformation ()V org/eclipse/jface/text/AbstractInformationControlManager.showInformation()V org/eclipse/jface/text/contentassist/AdditionalInfoController$1.run()V org/eclipse/swt/widgets/RunnableLock.run()V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/ui/internal/Workbench.runEventLoop()V org/eclipse/ui/internal/Workbench.run(Ljava/lang/Object;)Ljava/lang/Object; org/eclipse/core/internal/boot/InternalBootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; org/eclipse/core/boot/BootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; SlimLauncher.main([Ljava/lang/String;)V Log: Tue Jan 15 14:58:19 CET 2002 4 org.eclipse.core.runtime 0 Failed to execute runnable (java.lang.NullPointerException) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/swt/SWTException.<init>(ILjava/lang/String;)V org/eclipse/swt/SWTException.<init>(I)V org/eclipse/swt/SWT.error(ILjava/lang/Throwable;)V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/jface/window/Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;) V org/eclipse/jface/window/Window.open()I org/eclipse/jface/dialogs/MessageDialog.openError (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/String;Ljava/lang/String;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.openErrorDialog (Lorg/eclipse/swt/widgets/Shell;Ljava/lang/Exception;)V org/eclipse/jdt/internal/ui/text/template/TemplateCollector.evaluate (Ljava/lang/String;)Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.guessVariableNames() V org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.getDocument(I) Lorg/eclipse/jface/text/IDocument; org/eclipse/jdt/internal/ui/text/template/TemplateEvaluator.evaluate() Ljava/lang/String; org/eclipse/jdt/internal/ui/text/template/TemplateProposal.getAdditionalProposal Info()Ljava/lang/String; org/eclipse/jface/text/contentassist/AdditionalInfoController.computeInformation ()V org/eclipse/jface/text/AbstractInformationControlManager.showInformation()V org/eclipse/jface/text/contentassist/AdditionalInfoController$1.run()V org/eclipse/swt/widgets/RunnableLock.run()V org/eclipse/swt/widgets/Synchronizer.runAsyncMessages()Z org/eclipse/swt/widgets/Display.runAsyncMessages()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/ui/internal/Workbench.runEventLoop()V org/eclipse/ui/internal/Workbench.run(Ljava/lang/Object;)Ljava/lang/Object; org/eclipse/core/internal/boot/InternalBootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; org/eclipse/core/boot/BootLoader.run (Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;) Ljava/lang/Object; SlimLauncher.main([Ljava/lang/String;)V
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateCollector.java
private static final String FILE= "file"; 
	private static final String LINE= "line"; 
	private static final String DATE= "date"; 
	private static final String TIME= "time"; 
	private static final String USER= "user"; 
	
	
	private static final String ARRAY= "array"; 
	private static final String ARRAY_TYPE= "array_type"; 
	private static final String ARRAY_ELEMENT= "array_element"; 
	private static final String INDEX= "index"; 
	
	private static final String COLLECTION= "collection"; 
	private static final String ITERATOR= "iterator"; 
	
	private static final String RETURN_TYPE= "return_type"; 
	private static final String ARGUMENTS= "arguments";