Re: Entity engine, many relations, foreign keys
Not sure it's really related but maybe a better chance to advertise ;o) Done Jacques De : BJ Freeman [EMAIL PROTECTED] how about linking this with the entity one as a complete documentation. https://issues.apache.org/jira/browse/OFBIZ-1387 Jacques Le Roux sent the following on 12/4/2007 10:21 PM: Or even better read and then add annotations/documentations that others will read and maybe complete/enhance... https://issues.apache.org/jira/browse/OFBIZ-1398 This part of the work, as for code, benefits to all but is more neglicted. Because most people just read the DTD as Jonathon suggested. Nevertheless having it as code-completion should motivates everyone. Jacques De : Jonathon -- Improov [EMAIL PROTECTED] Skip, Read the DTDs. See ${component:entity}/dtd/entitymodel.xsd . For an entity, there are field, prim-key, relation, index. Jonathon [EMAIL PROTECTED] wrote: Gads Adrian. I never knew of the existence of this tag. Thanks. It is perfect. Someone needs to document it in the entity engine guide or at least somewhere prominent. I just did a search for this tag and found dozens of uses, but somehow, I missed it even though I looked at OrderHeader's definition a gazillion times. Are there any other cool undocumented DB features? Skip -Original Message- From: Adrian Crum [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 11:47 AM To: user@ofbiz.apache.org Subject: Re: Entity engine, many relations, foreign keys Why won't the index element work? [EMAIL PROTECTED] wrote: Ya BJ, seen that. What I want to do is create an index that is simply used for speed lookups. I do this now in postgres after install has been done. It would just be nice to be able to specify it in the entitydef file. But, it aint a big deal. Easily done manually in postgres. Skip -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 11:09 AM To: user@ofbiz.apache.org Subject: Re: Entity engine, many relations, foreign keys have you looked at this for tools https://localhost:8443/webtools/control/view/checkdb [EMAIL PROTECTED] sent the following on 12/4/2007 11:01 AM: It would be nice to have the foreign key checks as well as ways to creating indexes on non-key fields. There is a great performance increase having an index in some tables. Now I have to do in manually inside of the DB which is fine. Skip -Original Message- From: Jonathon -- Improov [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 3:08 AM To: user@ofbiz.apache.org Subject: Re: Entity engine, many relations, foreign keys Ah, wait. Note one more thing. In entity PartyContactMechPurpose, there is supposed to be a type one relation to PartyContactMech. Why is it missing? We could have a field like partyContactMechFromDate, so it doesn't clash with fromDate. Same for thruDate. Of course, that would mean we cannot easily change the fromDate field in PartyContactMech (unless we do EECA). As it is now, it is possible to actually get PartyContactMechPurpose to point to a non-existent PartyContactMech. Just mix up the partyId and contactMechId such that no such combination exists. Advice? Or should we live without foreign key checks in such cases? Jonathon Jonathon -- Improov wrote: I found this from David Jones: Foreign keys are done for type one relationships, not type many. A type many relationship is usually just the reverse direction of a type one relationship so the FK covers both. What would it mean to have a foreign key on a type many relationship? Then a corresponding one relation will supply the foreign key constraint? What about a many-to-many relation? Look at entity PartyAttribute and PartyTypeAttr for example. Is that a many-to-many? Looks odd, though. A many-to-many usually requires a separate match-make table. Is it correct to say that OFBiz does not do foreign key constraints with type many relations? Do we have to insert an additional type one relation on field attrName in order to get the foreign key constraints checks? But can a one relation be created without specifying the full primary key? Looks like the type many relation is merely a convenient means to do a query like where attrName = whatever, so we can do a simple getRelated(). Jonathon
Re: managing the size of console.log
$JAVA $VMARGS -jar ofbiz.jar $* /dev/null 21 means to append. means to write anew. Or, in short: $JAVA $VMARGS -jar ofbiz.jar $* /dev/null Listed twice because there are 2 pipes: standard output and error output. Both need to be sunk into /dev/null . The last tells OFBiz to run in the background, so you can log out of your shell and disconnect from the server without causing OFBiz to stop as well. Hope the above is right. Tired now late at night. Jonathon Vince M. Clark wrote: OK. I changed this line: $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG to $JAVA $VMARGS -jar ofbiz.jar $* /dev/null 2/dev/null Not sure why OFBIZ_LOG is listed twice, but I'm no shell script guru. - Original Message - From: Jonathon -- Improov [EMAIL PROTECTED] To: user@ofbiz.apache.org Sent: Tuesday, December 4, 2007 10:22:14 PM (GMT-0700) America/Denver Subject: Re: managing the size of console.log Skip, Agreed. I usually redirect console.log to dev null (discard). Log4J in OFBiz does capture output in rotated logs, so the console.log is just extra. Moreover, debug messages shouldn't be done with System.out.println. Jonathon [EMAIL PROTECTED] wrote: Vince It is my view that a production server of any sort should never redirect stdout and stderr to a log file because you have no control over it. If you want stdout and stderr, it's fairly simple in java to catch it and write it to a rotating log file. In Ofbiz's case, not everything that goes to stdout and stderr is written to ofbiz.log, but everything of importance is (in my limited experience). console.log is only useful in my view during developement. Skip -Original Message- From: Vince M. Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 12:58 PM To: user Subject: managing the size of console.log There are two startup options in startofbiz.sh # start ofbiz $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG #exec $JAVA $VMARGS -jar ofbiz.jar $@ We are using the first option, which logs everything to console.log. This appears to be redundant with ofbiz.log. console.log is not rotated, so it gets very large. Should we use the first option and send everything to /dev/null? Vince Clark Global Era The Freedom of Open Source [EMAIL PROTECTED] (303) 493-6723 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.14/1171 - Release Date: 12/4/2007 7:31 PM
RE: SOLVED: RE: all of a sudden, java.lang.OutOfMemoryError
Case This is an interesting development. What DB were you using? Skip -Original Message- From: Case Torres [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 05, 2007 8:59 AM To: user@ofbiz.apache.org Subject: SOLVED: RE: all of a sudden, java.lang.OutOfMemoryError I believe my database was corrupted in some way. I dropped the database and built anew and all is fine now. Thanks again, Case Torres [EMAIL PROTECTED] -Original Message- From: Case Torres [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 8:36 AM To: user@ofbiz.apache.org Subject: RE: all of a sudden, java.lang.OutOfMemoryError No, I haven't. I'll start anew. :-( Case Torres [EMAIL PROTECTED] -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 2:45 AM To: user@ofbiz.apache.org Subject: Re: all of a sudden, java.lang.OutOfMemoryError have you added any code to this. modified any containers? Case Torres sent the following on 12/1/2007 3:36 PM: Hi, OFBiz used to run like a champ on my XP Pro computer. Now, I'm getting the following errors from ofbiz and everything on my computer comes to a screeching halt. I think my automatic update updated jdk from 1.5 to 1.6. Could this be the problem. Anyone else have this problem? Any ideas? Thanks, Case C:\ofbizc:\Program Files\Java\jdk1.6.0_02\\bin\java -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar 1runtime\logs\console.log Exception in thread ContainerBackgroundProcessor[StandardEngine[default-server]] java.lang.OutOfMemoryError: Java heap space at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.ru n(Cont ainerBase.java:1559) at java.lang.Thread.run(Thread.java:619) Exception in thread Dispatcher-Thread-1 java.lang.OutOfMemoryError: Java heap space --- Case Torres Quantum Composers, Inc. [EMAIL PROTECTED] http://www.quantumcomposers.com
SOLVED: RE: all of a sudden, java.lang.OutOfMemoryError
I believe my database was corrupted in some way. I dropped the database and built anew and all is fine now. Thanks again, Case Torres [EMAIL PROTECTED] -Original Message- From: Case Torres [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 8:36 AM To: user@ofbiz.apache.org Subject: RE: all of a sudden, java.lang.OutOfMemoryError No, I haven't. I'll start anew. :-( Case Torres [EMAIL PROTECTED] -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 2:45 AM To: user@ofbiz.apache.org Subject: Re: all of a sudden, java.lang.OutOfMemoryError have you added any code to this. modified any containers? Case Torres sent the following on 12/1/2007 3:36 PM: Hi, OFBiz used to run like a champ on my XP Pro computer. Now, I'm getting the following errors from ofbiz and everything on my computer comes to a screeching halt. I think my automatic update updated jdk from 1.5 to 1.6. Could this be the problem. Anyone else have this problem? Any ideas? Thanks, Case C:\ofbizc:\Program Files\Java\jdk1.6.0_02\\bin\java -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar 1runtime\logs\console.log Exception in thread ContainerBackgroundProcessor[StandardEngine[default-server]] java.lang.OutOfMemoryError: Java heap space at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1572) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pr ocessC hildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.ru n(Cont ainerBase.java:1559) at java.lang.Thread.run(Thread.java:619) Exception in thread Dispatcher-Thread-1 java.lang.OutOfMemoryError: Java heap space --- Case Torres Quantum Composers, Inc. [EMAIL PROTECTED] http://www.quantumcomposers.com
Re: managing the size of console.log
OK. I changed this line: $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG to $JAVA $VMARGS -jar ofbiz.jar $* /dev/null 2/dev/null Not sure why OFBIZ_LOG is listed twice, but I'm no shell script guru. - Original Message - From: Jonathon -- Improov [EMAIL PROTECTED] To: user@ofbiz.apache.org Sent: Tuesday, December 4, 2007 10:22:14 PM (GMT-0700) America/Denver Subject: Re: managing the size of console.log Skip, Agreed. I usually redirect console.log to dev null (discard). Log4J in OFBiz does capture output in rotated logs, so the console.log is just extra. Moreover, debug messages shouldn't be done with System.out.println. Jonathon [EMAIL PROTECTED] wrote: Vince It is my view that a production server of any sort should never redirect stdout and stderr to a log file because you have no control over it. If you want stdout and stderr, it's fairly simple in java to catch it and write it to a rotating log file. In Ofbiz's case, not everything that goes to stdout and stderr is written to ofbiz.log, but everything of importance is (in my limited experience). console.log is only useful in my view during developement. Skip -Original Message- From: Vince M. Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 12:58 PM To: user Subject: managing the size of console.log There are two startup options in startofbiz.sh # start ofbiz $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG #exec $JAVA $VMARGS -jar ofbiz.jar $@ We are using the first option, which logs everything to console.log. This appears to be redundant with ofbiz.log. console.log is not rotated, so it gets very large. Should we use the first option and send everything to /dev/null? Vince Clark Global Era The Freedom of Open Source [EMAIL PROTECTED] (303) 493-6723
pk_service_semaphore error
While working in the POS I got this error, never seen that before (clean installation)... 2007-12-06 00:00:09,093 (default-invoker-Thread-15) [ EntitySyncServices.java:620:INFO ] In cleanSyncRemoveInfo removed [0] values with TX timestamp before [2007-12-05 23:36:09.078] 2007-12-06 00:00:09,796 (default-invoker-Thread-12) [ TransactionUtil.java:346:WARN ] No transaction in place, so not suspending. 2007-12-06 00:00:09,812 (default-invoker-Thread-12) [ TransactionUtil.java:346:WARN ] No transaction in place, so not suspending. 2007-12-06 00:00:09,812 (default-invoker-Thread-11) [ TransactionUtil.java:346:WARN ] No transaction in place, so not suspending. 2007-12-06 00:00:09,812 (default-invoker-Thread-13) [ TransactionUtil.java:346:WARN ] No transaction in place, so not suspending. 2007-12-06 00:00:09,890 (default-invoker-Thread-13) [ GenericDelegator.java:714:ERROR] exception report -- Failure in create operation for entity [ServiceSemaphore]: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ServiceSemaphore][createdStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][createdTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lockThread,default-invoker-Thread-13(java.lang.String)][lockTime,2007-12-06 00:00:08.562(java.sql.Timestamp)][serviceName,purgeOldJobs(java.lang.String)] (SQL Exception while executing the following:INSERT INTO public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key violates unique constraint pk_service_semaphore)). Rolling back transaction. Exception: org.ofbiz.entity.GenericEntityException Message: Error while inserting: [GenericEntity:ServiceSemaphore][createdStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][createdTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lockThread,default-invoker-Thread-13(java.lang.String)][lockTime,2007-12-06 00:00:08.562(java.sql.Timestamp)][serviceName,purgeOldJobs(java.lang.String)] (SQL Exception while executing the following:INSERT INTO public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key violates unique constraint pk_service_semaphore)) stack trace --- org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ServiceSemaphore][createdStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][createdTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lastUpdatedTxStamp,2007-12-06 00:00:09.828(java.sql.Timestamp)][lockThread,default-invoker-Thread-13(java.lang.String)][lockTime,2007-12-06 00:00:08.562(java.sql.Timestamp)][serviceName,purgeOldJobs(java.lang.String)] (SQL Exception while executing the following:INSERT INTO public.SERVICE_SEMAPHORE (SERVICE_NAME, LOCK_THREAD, LOCK_TIME, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key violates unique constraint pk_service_semaphore)) org.ofbiz.entity.datasource.GenericDAO.singleInsert(GenericDAO.java:170) org.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:111) org.ofbiz.entity.datasource.GenericHelperDAO.create(GenericHelperDAO.java:65) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:696) org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:586) org.ofbiz.entity.GenericValue.create(GenericValue.java:119) org.ofbiz.service.semaphore.ServiceSemaphore.dbWrite(ServiceSemaphore.java:145) org.ofbiz.service.semaphore.ServiceSemaphore.checkLockNeedToWait(ServiceSemaphore.java:115) org.ofbiz.service.semaphore.ServiceSemaphore.waitOrFail(ServiceSemaphore.java:83) org.ofbiz.service.semaphore.ServiceSemaphore.acquire(ServiceSemaphore.java:53) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:229) java.lang.Thread.run(Thread.java:595) Jacques
Re: Eclipse plugin for OFBiz - try it out!
Hi Anders, I tested always using my current configuration. Version: 3.4.0 Build id: I20071101-2000 with emf (2.4.0.v200711062140) Some quick remarks : Very RAM consuming : 512MB for Eclipse it barely enough when you run Complete analysis on a project. I suspect that actually not only the project selected is analysed but all open projects (since I can see the same number of Complete analysis task in Progress view). Does this option work from any node ? The filter does not filter view entity Did not found any errors in current trunk ! Did not try to introduce some and test, though... Looks like something should be done regarding interface type service. For all of them I got : !ENTRY OFBizExplorerV2 4 4 2007-12-05 07:53:18.796 !MESSAGE Unable to resolve service paymentRefundInterface The previous problems are solved but I got (in log, no problems appear at the UI level) !ENTRY org.eclipse.ui 4 0 2007-12-05 07:53:16.718 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalArgumentException: The 'no null' constraint is violated at org.eclipse.emf.common.util.BasicEList.validate(BasicEList.java:175) at org.eclipse.emf.ecore.util.EcoreEList.validate(EcoreEList.java:69) at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:645) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:331) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:288) at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:626) at dk.itu.smartemf.explorer.impl.ProjectImpl.getServices(ProjectImpl.java:194) at dk.itu.smartemf.explorer.ExplorerView$8.run(ExplorerView.java:186) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) Got also !ENTRY org.eclipse.ui 4 0 2007-12-05 09:35:32.484 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.jface.viewers.CustomHashtable.put(CustomHashtable.java:333) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2549) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1840) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1847) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:704) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1815) at