!SESSION 2012-06-22 12:28:14.421 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-22 12:36:43.468
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-22 12:36:43.468
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1f0b9ed)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-22 12:47:49.218
!MESSAGE JavaBuilder handling CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\search\evaluation\SearchEval.class.
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:371)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\search\evaluation\SearchEval.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	... 26 more
!SUBENTRY 1 org.eclipse.core.filesystem 4 271 2012-06-22 12:47:49.218
!MESSAGE File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\search\evaluation\SearchEval.class.
!STACK 0
java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\search\evaluation\SearchEval.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-22 12:47:49.234
!MESSAGE JavaBuilder handling CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\FuzzyRgbQuantizer.class.
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:371)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\FuzzyRgbQuantizer.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	... 26 more
!SUBENTRY 1 org.eclipse.core.filesystem 4 271 2012-06-22 12:47:49.234
!MESSAGE File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\FuzzyRgbQuantizer.class.
!STACK 0
java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\FuzzyRgbQuantizer.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-22 12:47:49.234
!MESSAGE JavaBuilder handling CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\AbstractQuantizer.class.
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:371)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\AbstractQuantizer.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	... 26 more
!SUBENTRY 1 org.eclipse.core.filesystem 4 271 2012-06-22 12:47:49.234
!MESSAGE File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\AbstractQuantizer.class.
!STACK 0
java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\quantizer\AbstractQuantizer.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-22 12:47:49.250
!MESSAGE JavaBuilder handling CoreException
!STACK 1
org.eclipse.core.runtime.CoreException: File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\Bins.class.
	at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:371)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\Bins.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	... 26 more
!SUBENTRY 1 org.eclipse.core.filesystem 4 271 2012-06-22 12:47:49.250
!MESSAGE File not found: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\Bins.class.
!STACK 0
java.io.FileNotFoundException: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\data\bins\Bins.class (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:702)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:1131)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:875)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileContents(IncrementalImageBuilder.java:817)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:823)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:187)
	at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:504)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:364)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.compile(IncrementalImageBuilder.java:321)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:301)
	at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:134)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:265)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:193)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SESSION 2012-06-23 11:45:37.937 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-23 11:46:23.187
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-23 11:46:23.187
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@30d2f8)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:03.062
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX
	 * @param offY
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:03.062
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:03.062
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:03.156
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX
	 * @param offY
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:03.187
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:03.187
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:05.203
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX
	 * @param offY
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:05.203
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:05.203
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:07.203
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX
	 * @param offY
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:07.203
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:07.203
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:07.703
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX
	 * @param offY
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:07.703
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:07.703
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:10.125
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:10.125
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:10.125
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:10.218
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:10.218
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:10.218
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:12.453
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:12.453
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:12.453
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:13.234
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:13.234
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:13.234
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:14.187
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w
	 * @param h
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:14.187
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:14.203
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:406)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:333)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:289)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:16.171
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (width)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:16.171
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:16.171
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:16.203
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (width)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:16.203
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:16.203
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:20.187
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (width)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:20.187
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:20.187
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:22.187
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:22.187
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:22.203
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:22.234
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:22.234
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:22.234
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:25.156
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:25.156
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:25.156
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:25.984
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - 
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:25.984
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:25.984
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:28.671
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:28.671
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:28.671
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:28.718
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:28.718
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:28.718
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:203)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:258)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
	at org.eclipse.jdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1079)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:170)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:32.156
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:32.156
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:32.156
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:37.031
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:37.031
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:37.031
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:37.656
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:37.656
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:37.656
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.internalGetHoverInfo(NLSStringHover.java:133)
	at org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.getHoverInfo2(NLSStringHover.java:112)
	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:141)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:44.281
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:44.281
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:44.281
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:46.093
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:46.093
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:46.093
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:46.109
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:46.109
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:46.109
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:46.125
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:46.125
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:46.125
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:469)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:46.140
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:46.156
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:46.156
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelDecorator.java:161)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLabelDecorator.java:136)
	at org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:273)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:46.531
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:206)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:46.531
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:206)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:46.531
!MESSAGE Error in JDT Core during reconcile
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:280)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:206)
	at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:89)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
	at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:126)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:89)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:151)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-23 12:50:49.593
!MESSAGE Exception occurred during compilation unit conversion:
----------------------------------- SOURCE BEGIN -------------------------------------
package subPicture;

import java.awt.image.BufferedImage;
import java.awt.image.DataBuffer;
import java.awt.image.WritableRaster;
import java.io.Serializable;

import util.simpleIO.Out;

public class SubPicture implements Serializable {
	
	/* predefined, important for data base and search */
	public static final int partsX=3, partsY=3;
	
	//private BufferedImage image;
	//private DataBuffer dataBuffer;
	//private boolean hasAlpha;
	private Pixel[][] pixels = new Pixel[partsY][partsX];
	private Pixel avg;
	
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (width)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	
	/**
	 * Constructor: Full, generates SubPicture information
	 * @param image - image with data
	 * @param offX - offset (start offset)
	 * @param offY - offset (start offset)
	 * @param w - limit (width)
	 * @param h - limit (height)
	 */
	public SubPicture(BufferedImage image, int offX, int offY, int w, int h){
		init(offX, offY, w, h,  image);
	}
	
	public SubPicture(BufferedImage image){
		
	}
	
	private void init(float offX, float offY, int w, int h,
			BufferedImage image){
		
		Out.pl(" >> Init subpicture for X="+offX+">"+w+", Y="+offY+">"+h);
		
		WritableRaster raster = image.getRaster();
		int[] pixel;
		if(image.getColorModel().hasAlpha())	// needed to avoid exceptions
			pixel = new int[4];					// -
		else									// -
			pixel = new int[3];					// -
		
		float partLengthX = w/(float)partsX;	// single part length for pixel calculation
		float partLengthY = h/(float)partsY;	// -
		offX += 0.5f;							// for better rounding
		offY += 0.5f;							// -
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				
				int startX = (int) (offX + x*partLengthX);
				int stopX  = (int) (offX + (x+1)*partLengthX);
				
				int startY = (int) (offY + y*partLengthY);
				int stopY  = (int) (offY + (y+1)*partLengthY);
				
				pixels[y][x] = getSingleSubPicture(startX, startY, stopX, stopY,  pixel, raster);
			}
		}
	}
	
	
	
	/**
	 * 
	 * @param startX - offset (start offset)
	 * @param startY - offset (start offset)
	 * @param stopX - limit (width)
	 * @param stopY - limit (height)
	 * @param pixel - tmp array for data, length is 3 or 4
	 * @param raster - raster with pixel data
	 * @return Pixel object for this picture section.
	 */
	private Pixel getSingleSubPicture(int startX, int startY, int stopX, int stopY,
			int[] pixel, WritableRaster raster){
		
		Out.pl(" >> Making subpicture for X="+startX+">"+stopX+", Y="+startY+">"+stopY);
		
		int pixelCount = 0;				// Pixel counter for average
		float avgR     = 0;				// Average RGB
		float avgG     = 0;				// -
		float avgB     = 0;				// -
		
		for(int y=startY; y<stopY; y++){
			for(int x=startX; x<stopX; x++){
				raster.getPixel(x, y, pixel);			// load picture pixel data
				avgR += pixel[0];						// sum up pixel data
				avgG += pixel[1];						// -
				avgB += pixel[2];						// -
				pixelCount++;							// count number of pixel
			}
		}
		
		pixel[0] = (int) (avgR/pixelCount+0.5f);		// get absolute value, rounded
		pixel[1] = (int) (avgG/pixelCount+0.5f);		// -
		pixel[2] = (int) (avgB/pixelCount+0.5f);		// -
		return new Pixel(pixel);						// return new pixel information
	}
	
	@Override
	public String toString(){
		
		StringBuffer s = new StringBuffer(120);
		s.append("SubPicture with average "+avg+": ");
		
		for(int y=0; y<partsY; y++){
			for(int x=0; x<partsX; x++){
				s.append( pixels[y][x].toString() );
				if(x+1<partsX)
					s.append( ", " );
			}
			if(y+1<partsY)
				s.append( "; " );
		}
		
		return s.toString();
	}
}

----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 2 2012-06-23 12:50:49.593
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jdt.ui".
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.jdt.ui 4 0 2012-06-23 12:50:49.593
!MESSAGE Error in JDT Core during AST creation
!STACK 0
java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:431)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:180)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2709)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1266)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:289)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1201)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:543)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:536)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:479)
	at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:169)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:154)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

[Jigloo Message: 23.06.2012 18:19:08]
Unable to instantiate new FormListener()

[Jigloo Message: 23.06.2012 18:19:09]
Error invoking public static java.awt.image.BufferedImage javax.imageio.ImageIO.read(java.io.File) throws java.io.IOException, java.lang.IllegalArgumentException: argument type mismatch, picturePathofTheOrinignalFile

[Jigloo Message: 23.06.2012 18:19:09]
warning - error creating class gui.test.Mosaik, java.lang.reflect.InvocationTargetException, constructor=public gui.test.Mosaik() cls=class gui.test.Mosaik ClassLoader=com.cloudgarden.jigloo.classloader.FormClassLoader@13f7044@20934724

[Jigloo Message: 23.06.2012 18:19:13]
java.awt.Window detected and hidden gui.test.chooseDatabase[dialog0,302,188,676x423,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,title=,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,30,668x389,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
!SESSION 2012-06-23 20:20:33.890 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-23 20:20:59.890
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-23 20:20:59.890
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1c661e7)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-23 21:31:10.140 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-23 21:31:25.515
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-23 21:31:25.515
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@19a0430)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-23 22:48:27.890 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-23 22:48:42.625
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-23 22:48:42.625
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@b0f028)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

!ENTRY org.eclipse.jdt.launching 4 120 2012-06-24 00:02:07.781
!MESSAGE Cannot connect to VM
!STACK 0
java.net.SocketException: socket closed
	at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method)
	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
	at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
	at java.net.ServerSocket.implAccept(ServerSocket.java:522)
	at java.net.ServerSocket.accept(ServerSocket.java:490)
	at org.eclipse.jdi.internal.connect.SocketTransportService.accept(SocketTransportService.java:95)
	at org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(SocketTransportImpl.java:56)
	at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:135)
	at org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:107)
	at java.lang.Thread.run(Thread.java:722)
!SESSION 2012-06-24 00:02:31.218 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 00:02:45.578
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 00:02:45.578
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@17b9a4d)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 02:23:19.046 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 02:23:32.890
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 02:23:32.890
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@12ede38)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 05:05:36.843 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 05:05:43.687
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 05:05:43.687
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@657772)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 13:30:54.156 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 13:31:37.234
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 13:31:37.234
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1e2753e)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 14:15:57.234 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2012-06-24 14:16:25.937
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!SESSION 2012-06-24 14:17:33.187 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2012-06-24 14:17:39.656
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jface 2 0 2012-06-24 14:18:18.906
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 14:18:18.906
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@7ce8ff)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 15:00:51.968 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 15:01:02.765
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 15:01:02.765
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@f3c6f4)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 17:32:26.078 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 17:32:37.218
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 17:32:37.218
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@12184b7)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-24 22:37:51.578 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-24 22:38:03.359
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-24 22:38:03.359
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@767df)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-25 16:55:42.015 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-25 16:55:48.812
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-25 16:55:48.812
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1c40b4e)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

!ENTRY org.eclipse.ui 4 0 2012-06-25 17:04:38.078
!MESSAGE Unable to create editor ID org.eclipse.jdt.ui.PropertiesFileEditor: Resource is out of sync with the file system: '/MosaikProject/src/gui/test/Bundle.properties'.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/MosaikProject/src/gui/test/Bundle.properties'.
	at org.eclipse.core.internal.resources.File.checkSynchronized(File.java:103)
	at org.eclipse.core.internal.resources.File.getContentDescription(File.java:273)
	at org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileDocumentProvider.createFileInfo(PropertiesFileDocumentProvider.java:65)
	at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478)
	at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4056)
	at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:217)
	at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1444)
	at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
	at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3043)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2606)
	at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3061)
	at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3088)
	at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:365)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:373)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:526)
	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
!SUBENTRY 1 org.eclipse.core.resources 4 274 2012-06-25 17:04:38.078
!MESSAGE Resource is out of sync with the file system: '/MosaikProject/src/gui/test/Bundle.properties'.

!ENTRY org.eclipse.ui 2 2 2012-06-25 17:04:38.109
!MESSAGE Ignored attempt to add saveable that was already registered
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: unknown saveable: org.eclipse.ui.internal.DefaultSaveable@b5ccb2 from part: org.eclipse.ui.internal.ErrorEditorPart@b5ccb2
	at org.eclipse.ui.internal.SaveablesList.logWarning(SaveablesList.java:187)
	at org.eclipse.ui.internal.SaveablesList.addModel(SaveablesList.java:117)
	at org.eclipse.ui.internal.SaveablesList.addModels(SaveablesList.java:289)
	at org.eclipse.ui.internal.SaveablesList.postOpen(SaveablesList.java:684)
	at org.eclipse.ui.internal.PartList.partOpened(PartList.java:234)
	at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)
	at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)
	at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:375)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:610)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:365)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:373)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:526)
	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public static dataBase.DataBase mosaik.MosaikFunctions.makeDatabase(java.io.File) throws java.io.IOException, java.lang.IllegalArgumentException: argument type mismatch, directoryOfPicturesToMergeWithExistingDatabase

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public static dataBase.DataBase mosaik.MosaikFunctions.loadDatabase(java.io.File) throws java.io.IOException,java.lang.ClassNotFoundException, java.lang.IllegalArgumentException: argument type mismatch, existingDatabaseToMergeWithDirectoryOfPictures

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public static dataBase.DataBase mosaik.MosaikFunctions.makeDatabase(java.io.File) throws java.io.IOException, java.lang.reflect.InvocationTargetException, mosaik.picturesDirectoryOnly

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public java.lang.String java.io.File.getParent(), java.lang.IllegalArgumentException: object is not an instance of declaring class, newDatabaseDirectory.getParent()

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public static dataBase.DataBase mosaik.MosaikFunctions.loadDatabase(java.io.File) throws java.io.IOException,java.lang.ClassNotFoundException, java.lang.IllegalArgumentException: argument type mismatch, firstDatabaseDirectory

[Jigloo Message: 25.06.2012 17:04:54]
Error invoking public static dataBase.DataBase mosaik.MosaikFunctions.loadDatabase(java.io.File) throws java.io.IOException,java.lang.ClassNotFoundException, java.lang.IllegalArgumentException: argument type mismatch, secondDatabaseDirectory

!ENTRY org.eclipse.ui.workbench 2 0 2012-06-25 17:05:02.015
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-06-25 17:05:02.015
!MESSAGE Conflict for 'org.eclipse.ui.navigate.previous':
HandlerActivation(commandId=org.eclipse.ui.navigate.previous,
	handler=ActionHandler(org.eclipse.ui.texteditor.GotoAnnotationAction@14f2ef2),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)
HandlerActivation(commandId=org.eclipse.ui.navigate.previous,
	handler=ActionHandler(org.eclipse.ui.texteditor.GotoAnnotationAction@1932814),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-06-25 17:05:02.015
!MESSAGE Conflict for 'org.eclipse.ui.file.refresh':
HandlerActivation(commandId=org.eclipse.ui.file.refresh,
	handler=ActionHandler(org.eclipse.ui.internal.editors.text.RefreshEditorAction@2c6804),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)
HandlerActivation(commandId=org.eclipse.ui.file.refresh,
	handler=ActionHandler(org.eclipse.ui.internal.editors.text.RefreshEditorAction@160ec08),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-06-25 17:05:02.015
!MESSAGE Conflict for 'org.eclipse.ui.navigate.next':
HandlerActivation(commandId=org.eclipse.ui.navigate.next,
	handler=ActionHandler(org.eclipse.ui.texteditor.GotoAnnotationAction@282f0f),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)
HandlerActivation(commandId=org.eclipse.ui.navigate.next,
	handler=ActionHandler(org.eclipse.ui.texteditor.GotoAnnotationAction@29b83b),
	expression=AndExpression(LegacyEditorActionBarExpression(org.eclipse.jdt.ui.PropertiesFileEditor),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f06283)),sourcePriority=4210689)

!ENTRY org.eclipse.jdt.ui 2 0 2012-06-25 18:24:30.312
!MESSAGE The 'org.eclipse.jdt.ui.JavaAllCompletionProposalComputer' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension took too long to return from the 'computeCompletionProposals()' operation.
!SESSION 2012-06-25 22:23:31.781 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2012-06-25 22:32:39.515
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jface 2 0 2012-06-25 22:33:20.640
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-25 22:33:20.640
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@bc9829)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-27 14:24:40.609 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-27 14:25:22.937
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-27 14:25:22.937
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@4be1f)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

!ENTRY org.eclipse.jdt.core 4 4 2012-06-27 14:38:46.734
!MESSAGE JavaBuilder handling ImageBuilderInternalException while building: MosaikProject
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
	at org.eclipse.core.internal.resources.Resource.delete(Resource.java:799)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:114)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:46)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Could not delete '/MosaikProject/bin/gui'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:270)
	at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:352)
	at org.eclipse.core.internal.resources.ResourceTree.standardDeleteFolder(ResourceTree.java:798)
	at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1940)
	at org.eclipse.core.internal.resources.Resource.delete(Resource.java:786)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:114)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:46)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Problems encountered while deleting files.
Contains: Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui\newGui.
Contains: Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui.
!SUBENTRY 1 org.eclipse.core.resources 4 273 2012-06-27 14:38:46.734
!MESSAGE Problems encountered while deleting resources.
!SUBENTRY 2 org.eclipse.core.resources 4 273 2012-06-27 14:38:46.734
!MESSAGE Could not delete '/MosaikProject/bin/gui'.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:270)
	at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:352)
	at org.eclipse.core.internal.resources.ResourceTree.standardDeleteFolder(ResourceTree.java:798)
	at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1940)
	at org.eclipse.core.internal.resources.Resource.delete(Resource.java:786)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:114)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:46)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Problems encountered while deleting files.
Contains: Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui\newGui.
Contains: Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui.
!SUBENTRY 3 org.eclipse.core.resources 4 273 2012-06-27 14:38:46.734
!MESSAGE Problems encountered while deleting resources.
!SUBENTRY 4 org.eclipse.core.filesystem 4 273 2012-06-27 14:38:46.734
!MESSAGE Problems encountered while deleting files.
!SUBENTRY 5 org.eclipse.core.filesystem 4 273 2012-06-27 14:38:46.734
!MESSAGE Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui\newGui.
!SUBENTRY 5 org.eclipse.core.filesystem 4 273 2012-06-27 14:38:46.734
!MESSAGE Could not delete: D:\Dropbox\MMIS (Niklas,Krisi)\Mosaik\MosaikProject\bin\gui.
!SESSION 2012-06-27 18:48:34.328 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-27 18:48:44.484
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-27 18:48:44.484
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1e2753e)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-27 22:25:55.593 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-27 22:26:13.625
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-27 22:26:13.625
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1d1ed0a)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-28 18:00:43.640 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-28 18:00:51.687
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-28 18:00:51.687
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@92b97b)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-28 18:01:39.781 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-28 18:01:46.109
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-28 18:01:46.109
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1307d38)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-29 14:54:25.187 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-29 14:54:55.984
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-29 14:54:55.984
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@1ecd6c2)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-29 21:34:01.812 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-29 21:34:09.218
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-29 21:34:09.218
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@13e3d0d)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
!SESSION 2012-06-29 21:56:41.812 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-29 21:56:51.531
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-29 21:56:51.531
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@61a618)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)

[Jigloo Message: 30.06.2012 00:43:48]
ERROR: TRYING TO GET TEXT PAST END OF BUFFER, 0, 1, 0
!SESSION 2012-06-30 02:09:41.031 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.jface 2 0 2012-06-30 02:09:51.781
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2012-06-30 02:09:51.781
!MESSAGE A conflict occurred for ALT+CTRL+J:
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(org.eclipse.ui.edit.text.join.lines,Join Lines,
		Join lines of text,
		Category(org.eclipse.ui.category.textEditor,Text Editing,Text Editing Commands,true),
		LegacyHandlerWrapper(ActionHandler(action=org.eclipse.ui.texteditor.JoinLinesAction@ec4835)),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+J,
	ParameterizedCommand(Command(com.cloudgarden.jigloo.commands.openJiglooPrefs,Open Jigloo Preferences Page,
		Open Jigloo Preferences Page,
		Category(com.cloudgarden.jigloo.actions.category,Jigloo,Jigloo Actions,true),
		,
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
