Why I lose factories from CollectionA in CollectionB

In the CollectionA with GO factory

and then I include this collection in editor in to collectionB using context menu “Add Collection From File”

I don’t know is this related to this collection. but when i open Collection B, i’m getting this error in “ErrorLog” console

!ENTRY org.eclipse.ui 4 0 2017-01-04 09:32:54.657
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
ava.lang.NullPointerException
	at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2099)
	at org.eclipse.swt.graphics.GC.cocoa_new(GC.java:207)
	at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2603)
	at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:283)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5385)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper_stret(Native Method)
	at org.eclipse.swt.widgets.Widget.expansionFrameWithFrame_inView(Widget.java:790)
	at org.eclipse.swt.widgets.Tree.expansionFrameWithFrame_inView(Tree.java:1266)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5768)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
	at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
	at org.eclipse.swt.widgets.Display.sleep(Display.java:4567)
	at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2702)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at com.dynamo.cr.editor.Application.start(Application.java:42)
	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:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
eclipse.buildId=unknown
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/nicloay/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/nicloay/.eclipse_keyring -showlocation

This is a continuation of log file /Users/nicloay/Applications/Defold-macosx.cocoa.x86_64/Defold.app/Contents/MacOS/workspace/.metadata/.bak_0.log
Created Time: 2017-01-04 09:32:54.694

https://forum.defold.com:/uploads/default/original/2X/b/ba0eb5b3cb8f51191405b75da2ae7f0926e2e689.mov

Hi Nicloay,

It seems strange, but it’s actually completely normally. The contents of collection A won’t appear when it is inside Collection B. If you want to edit the contents of Collection A, open Collection A.

I can’t help you with the error messages though!

2 Likes