🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.together.modeling
2 messages
2 total messages Started by tomte Mon, 23 Jul 2007 21:14
Failed to create temporary directory
#8
Author: tomte
Date: Mon, 23 Jul 2007 21:14
93 lines
4418 bytes
I had started a small evaluation project at work, and on Friday I took
it home.

But at home I could not reopen the project although using exactly the
same Together 2006 R2 version of 2007-02-15 and full F&L licence.

Then I tried the other way round, bringing a small project from home
to work. Similar stacktrace.

At work I am Alexander.Thomas, at home I am Thomas.Alexander.

Acc. to the stack trace (see below, on German systems) Together R2
tried to use a temporary directory for the wrong _hard coded_ user
name:
Failed to create temporary directory=c:\DOKUME~1\ALEXAN~1.THO
\LOKALE~1\Temp\...    and
Failed to create temporary directory=C:\DOKUME~1\THOMAS~1.ALE
\LOKALE~1\Temp\

Any ideas how to solve or circumvent this?

====

1st stack trace:
Unable to create view: Cannot register group
'com.borland.selena.uml20.providers.UML20ProvidersGroup'
because of dependencies.


com.tssap.selena.model.extension.RegistrationException: Cannot
register group 'com.borland.tg.xmldesign.a.a.a' because of
dependencies
	at com.tssap.selena.a.a.b.a.g$c_.a(g$c_.java:255)
...
Caused by: java.lang.RuntimeException: Failed to create temporary
directory=c:\DOKUME~1\ALEXAN~1.THO\LOKALE~1\Temp
\tgSuspend103211184931075703
	at com.tssap.selena.c.b.e.c.a(c.java:144)
	at com.tssap.selena.c.b.e.c.e(c.java:138)
	at com.tssap.selena.c.b.e.c.d(c.java:59)
	at com.tssap.selena.c.b.e.c.<init>(c.java:35)
	at com.tssap.selena.c.b.e.yb.a(yb.java:90)
	at com.tssap.selena.c.b.e.zb.<init>(zb.java:140)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at
com.tssap.selena.model.platform.internal.eclipse.ProvidersGroupDescriptorImpl.instantiateAndRegisterGroup(ProvidersGroupDescriptorImpl.java:
208)
	... 62 more

====

2nd stack trace - watch the changed order of Thomas.Alexander vs.
Alexander.Thomas:

Cannot register group 'com.borland.tg.uml20.interacton.internal.g.t'
because of dependencies.

com.tssap.selena.model.extension.RegistrationException: Cannot
register group com.borland.tg.xmldesign.admin.XmlDesignAdmin
	at com.tssap.selena.a.a.b.a.g$c_.a(g$c_.java:296)
...
Caused by: java.lang.RuntimeException: Failed to create temporary
directory=C:\DOKUME~1\THOMAS~1.ALE\LOKALE~1\Temp
\tgSuspend151621185109825343
	at com.tssap.selena.c.b.e.c.a(c.java:144)
	at com.tssap.selena.c.b.e.c.e(c.java:138)
	at com.tssap.selena.c.b.e.c.d(c.java:59)
	at com.tssap.selena.c.b.e.c.<init>(c.java:35)
	at com.tssap.selena.c.b.e.yb.a(yb.java:90)
	at com.tssap.selena.c.b.e.zb.<init>(zb.java:140)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at
com.tssap.selena.model.platform.internal.eclipse.ProvidersGroupDescriptorImpl.instantiateAndRegisterGroup(ProvidersGroupDescriptorImpl.java:
208)
	... 68 more

====

Thank you in advance!
Sincerely Yours
Thomas
Re: Failed to create temporary directory
#10
Author: tomte
Date: Sun, 29 Jul 2007 16:49
34 lines
2416 bytes
I just found a workaround:

- Save the old project folder (containing .project and .classpath) and
its subtree to a higher level directory

- Together R2 > same workspace ==> Error message as before, ok.
- - Close all diagrams
- - Model Navigator > the old project > RC > Delete:
- - - [x] Also delete contents under ... (!!)
- - - - Yes to all ...

- Exit Together R2
- Delete <workspace-dir>\.metadata
- Copy the saved project folder back to the old workspace where it
was.
- Delete <project-dir>\.classpath
- Delete <project-dir>\.project

- Start Together R2 with same old workspace.
- - No Project is shown, ok.
- - File > new > Project > Modeling > JavaModelingProject > Next ==>
"Java Modeling Project" dialog:
- [x] Create NEW project in workspace (!)
- Project name: the SAME OLD project name !!
- ==> "The specified external location already exists. If a project is
created in this location, the wizard will automatically try to detect
existing sources and class files and confugure the classpath
appropriately."
- > Next > Finish ==> ... Flushing Results ...

==> The project has been repaired, ok.

Good luck,
Thomas
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads