Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342384 - Crash when checkout from shared local folder
Summary: Crash when checkout from shared local folder
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Remus (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tom Seidel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 17:40 EDT by Joerg Reichert CLA
Modified: 2020-05-07 09:59 EDT (History)
0 users

See Also:


Attachments
The folder causing the crash when checking out. There is also another folder (not appended here) that leads also to the crash. (5.89 KB, application/octet-stream)
2011-04-10 18:00 EDT, Joerg Reichert CLA
no flags Details
local repository containing the categories Test, Test_Neu and Remus (191.08 KB, application/octet-stream)
2011-04-12 03:25 EDT, Joerg Reichert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Reichert CLA 2011-04-10 17:40:47 EDT
Build Identifier: RCP-TRUNK-130, Remus Cocoa Distro, Mac OS X 10.6.7 / MacBookPro 4,1, Intel Core 2 Duo

The contents of this shared folder were created from a Windows instance of Remus. After this crash Remus crashes again and again right after restart (without doing anything after the restart). Have to start with a new workspace.

!ENTRY org.eclipse.remus.core 4 300 2011-04-10 23:31:58.881
!MESSAGE Error checking out online-element
!STACK 0
java.lang.NullPointerException
	at org.eclipse.remus.core.model.InformationStructureRead.getStructureDefinition(InformationStructureRead.java:363)
	at org.eclipse.remus.core.model.InformationStructureRead.getNodeIdsWithBinaryReferences(InformationStructureRead.java:394)
	at org.eclipse.remus.core.remote.sync.ChangeSetExecutor.addLocalInfoUnit(ChangeSetExecutor.java:652)
	at org.eclipse.remus.core.remote.sync.ChangeSetExecutor.checkout(ChangeSetExecutor.java:123)
	at org.eclipse.remus.ui.remote.view.action.CheckoutAction$2.doRun(CheckoutAction.java:100)
	at org.eclipse.remus.core.remote.sync.AbstractSynchronizationJob.run(AbstractSynchronizationJob.java:53)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Reproducible: Always
Comment 1 Joerg Reichert CLA 2011-04-10 18:00:42 EDT
Created attachment 192910 [details]
The folder causing the crash when checking out. There is also another folder (not appended here) that leads also to the crash.
Comment 2 Tom Seidel CLA 2011-04-11 20:23:24 EDT
Tried to reproduce the problem on Windows and Mac (first with an already installed and over the time updated instance and afterwards with a fresh install), but couldn't find any error. On both OS' Remus created a folder "Test" and stored a Source-Code InfoUnit.
The stack-trace indicates that the Source-Code info-unit is not installed properly. Crashing and restarting over and over indicates also a corrupt installation (reminds me on a corrupt p2 configuration).

Have you tried downloading a fresh install with that workspace? Probably there went something wrong with the downloading of a package (try uninstall and reinstalling the features). Could you also try a preconfigured build where the connector and the information type is already bundled, see http://remus-software.org/bamboo/browse/RCP-STANDARD/latest/artifact/Mac-OS-X-(Cocoa)/RIM-macosx.cocoa.x86.zip

I recognized some UI clitches on Windows, my whole OS becomes a bit unstable if I switch to the Edit-Tab (the Editor-Control must have a maximal height), but I never came to the point where my instance crashed.
Comment 3 Joerg Reichert CLA 2011-04-12 03:24:33 EDT
I downloaded 
http://remus-software.org/bamboo/browse/RCP-STANDARD/latest/artifact/Mac-OS-X-(Cocoa)/RIM-macosx.cocoa.x86.zip
as well as 
http://remus-software.org/bamboo/browse/RCP-STANDARD/latest/artifact/Windows-32-bit/RIM-win32.win32.x86.zip

created a new local repository, copied the folders causing the crashes from the old repository into the new local repository (inside the Windows instance). I also created a newly SourceCode Information Unit with the same contents of the old information unit within a new category. But even when I only check out the new category containing the new information unit, Remus on MacOS crashes.

I append the hole new repository as zip for reproduction. The category "Test" contains the old information unit and "Test_Neu" contains the information unit, that is created from scratch today. When checking out the category "Remus" this also leads to a crash. When checking out only its subcategory "Remus Anliegen" it works. Putting "Remus" and "Remus Anliegen" side by side in Windows-Remus and checking it in, Mac-Remus is able to check both categories out without crashing. Very strange. 

(In reply to comment #2)
> Tried to reproduce the problem on Windows and Mac (first with an already
> installed and over the time updated instance and afterwards with a fresh
> install), but couldn't find any error. On both OS' Remus created a folder
> "Test" and stored a Source-Code InfoUnit.
> The stack-trace indicates that the Source-Code info-unit is not installed
> properly. Crashing and restarting over and over indicates also a corrupt
> installation (reminds me on a corrupt p2 configuration).
> 
> Have you tried downloading a fresh install with that workspace? Probably there
> went something wrong with the downloading of a package (try uninstall and
> reinstalling the features). Could you also try a preconfigured build where the
> connector and the information type is already bundled, see
> http://remus-software.org/bamboo/browse/RCP-STANDARD/latest/artifact/Mac-OS-X-(Cocoa)/RIM-macosx.cocoa.x86.zip
> 
> I recognized some UI clitches on Windows, my whole OS becomes a bit unstable if
> I switch to the Edit-Tab (the Editor-Control must have a maximal height), but I
> never came to the point where my instance crashed.
Comment 4 Joerg Reichert CLA 2011-04-12 03:25:39 EDT
Created attachment 193001 [details]
local repository containing the categories Test, Test_Neu and Remus