Help in building an Expression

Hi,
Would really appreciate help on this one.
I am trying to write an expression that generates the following SQL:
select count (*)
from ntf_messages a, ga_languages b, ga_language_code c
where a.language_id = b.language_id
and b.language_code_id = c.language_code_id
and length(a.MESSAGE_TEXT) > 1 * (1120/c.BITS_PER_CHARACTER)
This is a simple 3 tables join with a mathematical expression that I am not sure how to implement - I was trying to use the ExpressionMath.divide(..) method, but it divides an expression by a number and not a number by expression..
My objects' structures is:
I have a notificationMessage object that has a m_messageText member of type String (mapped to a.MESSAGE_TEXT) and a m_Language member which is an embedde object of type Language.
The language object has got an m_languageCode member which is an embedded object of type LanguageCode.
The languageCode object has got a member m_bitsPerCharacter which is of type int and is mapped to the table field BITS_PER_CHARACTER of the table: ga_language_code.
I was trying to write something in the form of:
ExpressionBuilder builder = new ExpressionBuilder(NotificationMsg.class);
ReportQuery reportQuery = new ReportQuery();
reportQuery.setReferenceClass(NotificationMsg.class);
reportQuery.setSelectionCriteria(builder.get("m_messageText").length().greaterThan(1 * 1120 / builder.get("m_language.m_languageCode.m_bitsPerCharacter")) );
But this is wrong since I am dividing a number by expression, and obviously it cannot be done.
Thanks in advance for any help in building this expression,
Michal

I was trying to use the ExpressionMath.divide(..) method, but it divides an expression by a number and not a number by expression..This method also takes an Expression and Object parameter, which can be another expression. You can also use the Expression.value(Object) method to create an expression from a number.
reportQuery.setSelectionCriteria(builder.get("m_messageText").length().greaterThan(1 * 1120 / builder.get("m_language.m_languageCode.m_bitsPerCharacter")) );Try,
reportQuery.setSelectionCriteria(
builder.get("m_messageText").length().greaterThan(
ExpressionMath.multiply(
ExpressionMath.divide(
builder.value(1),
builder.get("m_language.m_languageCode.m_bitsPerCharacter")),
1)));

Similar Messages

  • Help Flash Builder 4.5 keeps crashing

    !SESSION 2011-07-20 09:47:36.152 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.ui 2 0 2011-07-20 09:47:51.720
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-20 09:47:51.720
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !SESSION 2011-07-20 11:32:13.305 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 10035 2011-07-20 11:32:14.388
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-07-20 11:32:17.057
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-20 11:32:17.057
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY org.eclipse.jface 2 0 2011-07-20 11:46:19.848
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-20 11:46:19.848
    !MESSAGE A conflict occurred for CTRL+G:
    Binding(CTRL+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.declarations.in.wor kspace,Declaration in Workspace,
      Search for declarations of the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@1daee61)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@1daee61)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-20 11:46:19.848
    !MESSAGE A conflict occurred for CTRL+SHIFT+G:
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.references.in.works pace,References in Workspace,
      Search for references to the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@58526a)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@58526a)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !ENTRY org.eclipse.equinox.security 4 0 2011-07-20 11:47:22.002
    !MESSAGE Secure storage was unable to retrieve the master password. If secure storage was created using a different Windows account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
    !STACK 0
    org.eclipse.equinox.security.storage.StorageException: Secure storage was unable to retrieve the master password. If secure storage was created using a different Windows account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
    at org.eclipse.equinox.internal.security.win32.WinCrypto.getPassword(WinCrypto.java:62)
    at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(Passw ordProviderModuleExt.java:35)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(Sec urePreferencesRoot.java:259)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePre ferencesRoot.java:224)
    at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.jav a:224)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferen cesWrapper.java:110)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1021)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1003)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.setAllowCaching(CVSR epositoryLocation.java:990)
    at org.eclipse.team.internal.ccvs.ui.WorkbenchUserAuthenticator.promptForUserInfo(WorkbenchU serAuthenticator.java:101)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.promptForUserInfo(CV SRepositoryLocation.java:837)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRe positoryLocation.java:815)
    at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.validateConnection(C VSRepositoryLocation.java:1045)
    at org.eclipse.team.internal.ccvs.ui.wizards.ModuleSelectionPage.validateLocation(ModuleSele ctionPage.java:384)
    at org.eclipse.team.internal.ccvs.ui.wizards.ModuleSelectionPage$3.run(ModuleSelectionPage.j ava:208)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    !ENTRY org.eclipse.team.cvs.core 4 0 2011-07-20 11:47:22.091
    !MESSAGE No password provided.
    !STACK 0
    org.eclipse.equinox.security.storage.StorageException: No password provided.
    at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.jav a:237)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferen cesWrapper.java:110)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1021)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1003)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.setAllowCaching(CVSR epositoryLocation.java:990)
    at org.eclipse.team.internal.ccvs.ui.WorkbenchUserAuthenticator.promptForUserInfo(WorkbenchU serAuthenticator.java:101)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.promptForUserInfo(CV SRepositoryLocation.java:837)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRe positoryLocation.java:815)
    at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.validateConnection(C VSRepositoryLocation.java:1045)
    at org.eclipse.team.internal.ccvs.ui.wizards.ModuleSelectionPage.validateLocation(ModuleSele ctionPage.java:384)
    at org.eclipse.team.internal.ccvs.ui.wizards.ModuleSelectionPage$3.run(ModuleSelectionPage.j ava:208)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    !ENTRY org.eclipse.ui 4 0 2011-07-20 12:58:21.049
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
    at org.eclipse.swt.SWT.error(SWT.java:4083)
    at org.eclipse.swt.SWT.error(SWT.java:3998)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at org.eclipse.swt.graphics.Image.getImageData(Image.java:1451)
    at org.eclipse.swt.widgets.Decorations.setImages(Decorations.java:983)
    at org.eclipse.swt.widgets.Decorations.setImages(Decorations.java:1066)
    at org.eclipse.jface.window.Window.configureShell(Window.java:373)
    at org.eclipse.ui.internal.statushandlers.InternalDialog.configureShell(InternalDialog.java: 198)
    at org.eclipse.jface.window.Window.createShell(Window.java:502)
    at org.eclipse.jface.window.Window.create(Window.java:430)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapte r(WorkbenchStatusDialogManagerImpl.java:260)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter( WorkbenchStatusDialogManagerImpl.java:197)
    at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStat usDialogManager.java:156)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandl er.java:101)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.access$0(WorkbenchErrorHandler.java:9 4)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler$1.run(WorkbenchErrorHandler.java:62)
    at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
    at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    !ENTRY org.eclipse.core.jobs 4 2 2011-07-20 12:58:22.605
    !MESSAGE An internal error occurred during: "Launching MultiGameLauncher".
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
    at java.util.AbstractList.iterator(Unknown Source)
    at java.util.AbstractList.hashCode(Unknown Source)
    at java.util.HashMap.get(Unknown Source)
    at macromedia.asc.util.NamespacesTable.intern(NamespacesTable.java:49)
    at macromedia.asc.semantics.ReferenceValue.<init>(ReferenceValue.java:96)
    at macromedia.asc.semantics.ReferenceValue.<init>(ReferenceValue.java:86)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:216)
    at macromedia.asc.parser.IdentifierNode.evaluate(IdentifierNode.java:83)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:867)
    at macromedia.asc.parser.SetExpressionNode.evaluate(SetExpressionNode.java:58)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:677)
    at macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:57)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:1102)
    at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:1421)
    at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:1367)
    at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:60)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:2438)
    at macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:107)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:4923)
    at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:106)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:1078)
    at macromedia.asc.parser.ArgumentListNode.evaluate(ArgumentListNode.java:46)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:891)
    at macromedia.asc.parser.SetExpressionNode.evaluate(SetExpressionNode.java:58)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:644)
    at macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:57)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:1421)
    at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50)
    at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:4634)
    at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:106)
    !ENTRY org.eclipse.ui 4 4 2011-07-20 12:58:30.916
    !MESSAGE An internal error has occurred.
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
    !ENTRY org.eclipse.ui.workbench 4 0 2011-07-20 12:58:32.488
    !MESSAGE An unexpected exception was thrown.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.statushandlers.InternalDialog.refreshDialogSize(InternalDialog.ja va:384)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapte r(WorkbenchStatusDialogManagerImpl.java:273)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter( WorkbenchStatusDialogManagerImpl.java:197)
    at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStat usDialogManager.java:156)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandl er.java:101)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.handle(WorkbenchErrorHandler.java:57)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handle(IDEWorkbenchErrorHandler.java :106)
    at org.eclipse.ui.internal.WorkbenchErrorHandlerProxy.handle(WorkbenchErrorHandlerProxy.java :36)
    at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:189)
    at org.eclipse.ui.internal.progress.ProgressManager$3.done(ProgressManager.java:467)
    at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
    at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:96)
    at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
    at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
    at org.eclipse.core.internal.jobs.InternalJob.done(InternalJob.java:208)
    at org.eclipse.core.runtime.jobs.Job.done(Job.java:226)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:108)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    !ENTRY org.eclipse.ui 4 4 2011-07-20 12:58:34.057
    !MESSAGE An internal error has occurred.
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
    !ENTRY org.eclipse.ui 4 4 2011-07-20 13:00:10.970
    !MESSAGE An internal error has occurred.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler$FatalErrorDialog.updateMessage(IDEWo rkbenchErrorHandler.java:301)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handleException(IDEWorkbenchErrorHan dler.java:150)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.access$0(IDEWorkbenchErrorHandler.ja va:146)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler$1.runInUIThread(IDEWorkbenchErrorHan dler.java:121)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog. java:275)
    at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.disconnectFromWorkspace(IDEWo rkbenchAdvisor.java:509)
    at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.postShutdown(IDEWorkbenchAdvi sor.java:342)
    at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:2967)
    at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1115)
    at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1032)
    at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1276)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
    at org.eclipse.ui.internal.WorkbenchConfigurer.emergencyClose(WorkbenchConfigurer.java:165)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.closeWorkbench(IDEWorkbenchErrorHand ler.java:253)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handleException(IDEWorkbenchErrorHan dler.java:155)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.access$0(IDEWorkbenchErrorHandler.ja va:146)
    at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler$1.runInUIThread(IDEWorkbenchErrorHan dler.java:121)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    !ENTRY org.eclipse.wst.server.core 4 0 2011-07-20 13:01:08.544
    !MESSAGE Error during shutdown
    !STACK 0
    org.eclipse.core.runtime.AssertionFailedException: null argument:
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
    at org.eclipse.core.internal.events.ResourceChangeListenerList.remove(ResourceChangeListener List.java:146)
    at org.eclipse.core.internal.events.NotificationManager.removeListener(NotificationManager.j ava:305)
    at org.eclipse.core.internal.resources.Workspace.removeResourceChangeListener(Workspace.java :1934)
    at org.eclipse.wst.server.core.internal.ResourceManager.shutdownImpl(ResourceManager.java:36 7)
    at org.eclipse.wst.server.core.internal.ResourceManager.shutdown(ResourceManager.java:313)
    at org.eclipse.wst.server.core.internal.ServerPlugin.stop(ServerPlugin.java:360)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:8 43)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:83 6)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java :597)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelMana ger.java:257)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.jav a:215)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundl e.java:266)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
    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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    !SESSION 2011-07-20 13:02:26.713 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.ui 2 0 2011-07-20 13:02:42.712
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-20 13:02:42.712
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY org.eclipse.jface 2 0 2011-07-20 13:12:10.536
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-20 13:12:10.536
    !MESSAGE A conflict occurred for CTRL+G:
    Binding(CTRL+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.declarations.in.wor kspace,Declaration in Workspace,
      Search for declarations of the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6de7e)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6de7e)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-07-20 13:12:10.536
    !MESSAGE A conflict occurred for CTRL+SHIFT+G:
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.references.in.works pace,References in Workspace,
      Search for references to the selected element in the workspace,
      Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@f939cd)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexide.editorcore.flexEditorScope,,,system)
    Binding(CTRL+SHIFT+G,
    ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
      Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
      LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@f939cd)),
      ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
    !ENTRY org.eclipse.equinox.security 4 0 2011-07-20 13:15:08.220
    !MESSAGE Secure storage was unable to retrieve the master password. If secure storage was created using a different Windows account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
    !STACK 0
    org.eclipse.equinox.security.storage.StorageException: Secure storage was unable to retrieve the master password. If secure storage was created using a different Windows account, you'll have to switch back to that account. Alternatively, you can use the password recovery, or delete and re-create secure storage.
    at org.eclipse.equinox.internal.security.win32.WinCrypto.getPassword(WinCrypto.java:62)
    at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(Passw ordProviderModuleExt.java:35)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(Sec urePreferencesRoot.java:259)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePre ferencesRoot.java:224)
    at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.jav a:224)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferen cesWrapper.java:110)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1021)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1003)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.setAllowCaching(CVSR epositoryLocation.java:990)
    at org.eclipse.team.internal.ccvs.ui.WorkbenchUserAuthenticator.promptForUserInfo(WorkbenchU serAuthenticator.java:101)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.promptForUserInfo(CV SRepositoryLocation.java:837)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRe positoryLocation.java:815)
    at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider$6.run(CVSTeamProvider.java:599)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider.notifyEditUnedit(CVSTeamProvider.java :622)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider.edit(CVSTeamProvider.java:529)
    at org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationValidator.performEdit(CVSCoreF ileModificationValidator.java:128)
    at org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationValidator$1.run(CVSCoreFileMod ificationValidator.java:108)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY org.eclipse.team.cvs.core 4 0 2011-07-20 13:15:08.228
    !MESSAGE No password provided.
    !STACK 0
    org.eclipse.equinox.security.storage.StorageException: No password provided.
    at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.jav a:237)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferen cesWrapper.java:110)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1021)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.updateCache(CVSRepos itoryLocation.java:1003)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.setAllowCaching(CVSR epositoryLocation.java:990)
    at org.eclipse.team.internal.ccvs.ui.WorkbenchUserAuthenticator.promptForUserInfo(WorkbenchU serAuthenticator.java:101)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.promptForUserInfo(CV SRepositoryLocation.java:837)
    at org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRe positoryLocation.java:815)
    at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider$6.run(CVSTeamProvider.java:599)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider.notifyEditUnedit(CVSTeamProvider.java :622)
    at org.eclipse.team.internal.ccvs.core.CVSTeamProvider.edit(CVSTeamProvider.java:529)
    at org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationValidator.performEdit(CVSCoreF ileModificationValidator.java:128)
    at org.eclipse.team.internal.ccvs.core.CVSCoreFileModificationValidator$1.run(CVSCoreFileMod ificationValidator.java:108)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !SESSION 2011-07-20 13:52:46.640 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 10035 2011-07-20 13:53:05.946
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-07-20 13:53:28.992
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-20 13:53:28.992
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !SESSION 2011-07-20 14:02:08.178 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 10035 2011-07-20 14:02:09.315
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-07-20 14:02:11.821
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-20 14:02:11.821
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY org.eclipse.ui 4 0 2011-07-20 14:16:21.713
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
    at org.eclipse.swt.SWT.error(SWT.java:4083)
    at org.eclipse.swt.SWT.error(SWT.java:3998)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at org.eclipse.swt.graphics.Image.getImageData(Image.java:1451)
    at org.eclipse.swt.widgets.Decorations.setImages(Decorations.java:983)
    at org.eclipse.swt.widgets.Decorations.setImages(Decorations.java:1066)
    at org.eclipse.jface.window.Window.configureShell(Window.java:373)
    at org.eclipse.ui.internal.statushandlers.InternalDialog.configureShell(InternalDialog.java: 198)
    at org.eclipse.jface.window.Window.createShell(Window.java:502)
    at org.eclipse.jface.window.Window.create(Window.java:430)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.doAddStatusAdapte r(WorkbenchStatusDialogManagerImpl.java:260)
    at org.eclipse.ui.internal.statushandlers.WorkbenchStatusDialogManagerImpl.addStatusAdapter( WorkbenchStatusDialogManagerImpl.java:197)
    at org.eclipse.ui.statushandlers.WorkbenchStatusDialogManager.addStatusAdapter(WorkbenchStat usDialogManager.java:156)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.showStatusAdapter(WorkbenchErrorHandl er.java:101)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler.access$0(WorkbenchErrorHandler.java:9 4)
    at org.eclipse.ui.statushandlers.WorkbenchErrorHandler$1.run(WorkbenchErrorHandler.java:62)
    at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
    at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    !ENTRY org.eclipse.core.jobs 4 2 2011-07-20 14:16:21.716
    !MESSAGE An internal error occurred during: "Launching MultiGameLauncher".
    !STACK 0
    java.lang.OutOfMemoryError: Java heap space
    at java.lang.AbstractStringBuilder.<init>(Unknown Source)
    at java.lang.StringBuilder.<init>(Unknown Source)
    at flex2.compiler.as3.SignatureEvaluator.<init>(SignatureEvaluator.java:199)
    at flex2.compiler.as3.SignatureEvaluator.<init>(SignatureEvaluator.java:189)
    at flex2.compiler.as3.SignatureExtension.generateSignature(SignatureExtension.java:244)
    at flex2.compiler.as3.SignatureExtension.doSignatureGeneration(SignatureExtension.java:159)
    at flex2.compiler.as3.SignatureExtension.parse1(SignatureExtension.java:125)
    at flex2.compiler.as3.As3Compiler.parse1(As3Compiler.java:429)
    at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2872)
    at flex2.compiler.CompilerAPI.parse1(CompilerAPI.java:2825)
    at flex2.compiler.CompilerAPI.batch2(CompilerAPI.java:457)
    at flex2.compiler.CompilerAPI.batch(CompilerAPI.java:1291)
    at flex2.compiler.CompilerAPI.compile(CompilerAPI.java:1522)
    at flex2.tools.oem.Application.compile(Application.java:1349)
    at flex2.tools.oem.Application.recompile(Application.java:1287)
    at flex2.tools.oem.Application.compile(Application.java:886)
    at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:359)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(A SApplicationBuilder.java:319)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplication Builder.java:129)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
    at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:7 0)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectB uilder.java:575)
    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:350)
    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:187)
    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.basicBuild(BuildManager.java:220)
    !SESSION 2011-07-21 10:52:45.733 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.ui 2 0 2011-07-21 10:53:16.063
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-07-21 10:53:16.063
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY com.adobe.flexbuilder.project 4 43 2011-07-21 11:05:52.183
    !MESSAGE Could not load current project.
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at com.adobe.flexide.editorcore.loadservice.CodeModelProjectLoadDialog.runLoadProjects(CodeM odelProjectLoadDialog.java:233)
    at com.adobe.flexide.editorcore.loadservice.CodeModelProjectLoadDialog.runLoadProjects(CodeM odelProjectLoadDialog.java:156)
    at com.adobe.flexide.editorcore.loadservice.DefaultCMLoadService.loadProjects(DefaultCMLoadS ervice.java:131)
    at com.adobe.flexide.editorcore.loadservice.DefaultCMLoadService.loadProjects(DefaultCMLoadS ervice.java:147)
    at com.adobe.flexide.editorcore.editor.AbstractFlexDocumentProvider.connect(AbstractFlexDocu mentProvider.java:111)
    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(AbstractDecoratedTextEdi tor.java:1444)
    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
    at com.adobe.flexide.editorcore.editor.AbstractFlexEditor.doSetInput(AbstractFlexEditor.java :1429)
    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:2600)
    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3061)
    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3088)
    at com.adobe.flexide.editorcore.editor.AbstractFlexEditor.init(AbstractFlexEditor.java:452)
    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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
    at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    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 com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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(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:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at com.adobe.flexbuilder.codemodel.internal.common.CheapArray.create(CheapArray.java:86)
    at com.adobe.flexbuilder.codemodel.internal.tree.TreeNode.<init>(TreeNode.java:51)
    at com.adobe.flexbuilder.codemodel.internal.tree.ContainerNode.<init>(ContainerNode.java:38)
    at com.adobe.flexbuilder.codemodel.internal.tree.FunctionCallNode.<init>(FunctionCallNode.ja va:71)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.argumentsExpression(ASTreeP arser.java:5288)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.simpleExpression(ASTreePars er.java:5541)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.unitExpression(ASTreeParser .java:5243)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.complexOperatorExpression(A STreeParser.java:4825)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.operatorExpression(ASTreePa rser.java:4305)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.expression(ASTreeParser.jav a:2282)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.singleVariable(ASTreeParser .java:4041)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.variableDef(ASTreeParser.ja va:1186)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.annotatableDirective(ASTree Parser.java:529)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.directives(ASTreeParser.jav a:437)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.functionContents(ASTreePars er.java:3590)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.functionDef(ASTreeParser.ja va:1140)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.annotatableDirective(ASTree Parser.java:523)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.directives(ASTreeParser.jav a:437)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.classDef(ASTreeParser.java: 863)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.annotatableDirective(ASTree Parser.java:539)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.directives(ASTreeParser.jav a:437)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.packageDef(ASTreeParser.jav a:356)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.file(ASTreeParser.java:144)
    at com.adobe.flexbuilder.codemodel.internal.parsing.BaseASTreeParser.parseFile(BaseASTreePar ser.java:163)
    at com.adobe.flexbuilder.codemodel.internal.resourcehandlers.BaseFileHandler.parseToASTree(B aseFileHandler.java:244)
    at com.adobe.flexbuilder.codemodel.internal.resourcehandlers.ASFileHandler.parseFile(ASFileH andler.java:101)
    at com.adobe.flexbuilder.codemodel.internal.resourcehandlers.ResourceHandlerManager.parseFil e(ResourceHandlerManager.java:242)
    at com.adobe.flexbuilder.codemodel.internal.project.Project.parseFile(Project.java:1137)
    at com.adobe.flexbuilder.codemodel.internal.project.ProjectManager.reparseSavedFile(ProjectM anager.java:812)
    at com.adobe.flexbuilder.codemodel.internal.project.ProjectManager.fileChanged(ProjectManage r.java:604)
    at com.adobe.flexbuilder.codemodel.internal.project.ProjectManager.fileChanged(ProjectManage r.java:559)
    at com.adobe.flexbuilder.codemodel.internal.project.EclipseProjectListener.preloadFiles(Ecli pseProjectListener.java:733)
    Root exception:
    java.lang.OutOfMemoryError: Java heap space
    at com.adobe.flexbuilder.codemodel.internal.common.CheapArray.create(CheapArray.java:86)
    at com.adobe.flexbuilder.codemodel.internal.tree.TreeNode.<init>(TreeNode.java:51)
    at com.adobe.flexbuilder.codemodel.internal.tree.ContainerNode.<init>(ContainerNode.java:38)
    at com.adobe.flexbuilder.codemodel.internal.tree.FunctionCallNode.<init>(FunctionCallNode.ja va:71)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.argumentsExpression(ASTreeP arser.java:5288)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.simpleExpression(ASTreePars er.java:5541)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.unitExpression(ASTreeParser .java:5243)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.complexOperatorExpression(A STreeParser.java:4825)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.operatorExpression(ASTreePa rser.java:4305)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.expression(ASTreeParser.jav a:2282)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.singleVariable(ASTreeParser .java:4041)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.variableDef(ASTreeParser.ja va:1186)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.annotatableDirective(ASTree Parser.java:529)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.directives(ASTreeParser.jav a:437)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.functionContents(ASTreePars er.java:3590)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.functionDef(ASTreeParser.ja va:1140)
    at com.adobe.flexbuilder.codemodel.internal.parsing.ASTreeParser.annotatableDirective(ASTree

    I removed an old version of a java runtime and installed reinstalled flashbuilder 4.5. I also upped the memory however it always gets very close to maximum allocation. It is not crashing as much however if I close flashbuilder it takes ages to load the workbench in. Are you on windows 7 also?
    Alison Schofield
    > Date: Sun, 7 Aug 2011 06:26:49 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help Flash Builder 4.5 keeps crashing
    Have you made any progress with this issue?
    The exact same thing happens to me, and even increasing the memory params in flashBuilder.ini did not solve my problem.
    Thanks, Eloise.
    >

  • Need help with pass/fail expression​.

    I've got an array of strings parameter called Parameters.CAN_Switch_Channel_Name[0] (equal to a string) which gets passed into a subsequence.  During run time when this subsequence gets called, a new parameter gets created which gets named the string which is passed in through Parameters.CAN_Switch_Channel_Name[0].  So for instance if Parameters.CAN_Switch_Channel_Name[0] is equal to CC_VS_Spd.CC_Set_Switch, then a parameter will get created at run time called: Parameters.CC_VS_Spd.CC_Set_Switch.  I want to create a pass/fail expression to check the new parameter.  I am not sure how to build the expression.  I tried:
    Parameters."Parameters.CAN_Switch_Channel_Name[0]"​  This didn't work!
    Parameters.(Parameters.CAN_Switch_Channel_Name[0])​  This didn't work either!
    I need a way of pulling out the value in Parameters.CAN_Switch_Channel_Name[0] and appending it to Parameters. to reference the parameter created at run time.
    Any ideas?

    Hi,
    I read this a few times now, and just when I think I got ......
    In your SubSequence you have a parameter which is called CAN_Switch_Channel_Name[] which is an array of strings.
    Now do you wish to change the Name of this string array from CAN_Switch_Channel_Name to CC_VS_Spd.CC_Set_Switch or is it that the contains of the array is set to eg
    CAN_Switch_Channel_Name[0] = "CAN_Switch_Channel_Name to CC_VS_Spd.CC_Set_Switch"
    and is this done in the Sequence or before the sequence ist called.
    Maybe a small example of what you are trying to achive, even if its not working may help.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Build Text Express VI doesn't work without a variable

    I like the build text express VI because it lets me hide a lot of the clutter of building text strings on the code page itself, inside the express VI.
    Two questions:
    1) Why does the build text express VI require a single variable before 'Result' will contain text typed into the 'Text with Variables in Percents' field. If no variable is listed the result is always null.
    2) Is using many copies of this express VI a waste of memory or is it decent sized or possibly doesn't matter at all... I have just started using it so have no idea how well it works as far as adding bulk to the program.

    The express vi is a vi. Yes it will take more memory to use the build text vi that using the format into string function. The express vi if you right click on it and open front panel you will see what code is involved. A good example is to go and look at the vi metrics with a build text express vi and you will see that there are 42 different nodes in one express vi. If you put a format into string function you will see using vi metrics only 1 node. Another drawback is that the build text will only allow you to have 8 input variables. It is a easy tool to use but can be bulky if used improperly. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How 2 better build this Expression?

    As you can see in the code below a null means don't use this object in the criteria. Conditionally building an Expression like this is rather cumbersome. There has got to be a better way to do this!
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expression = null;
    if (name != null) {
    expression = builder.get("name").equal(name);
    if (age != null) {
    if (expression == null) {
    expression = builder.get("age").equal(age);
    else {
    expression = expression.and(builder.get("age").equal(age));
    Collection persons = null;
    if (expression == null) {
    session.readAllObjects(Person.class);
    else {
    session.readAllObjects(Person.class, expression);

    One thing that may help is that expression.and will allow you to pass in null (just returns the expression).
    So...&gt;&gt;
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression expression = null;
    if (name != null) {
    expression = builder.get("name").equal(name);
    if (age != null) {
    expression = (builder.get("age").equal(age)).and(expression);
    Collection persons = session.readAllObjects(Person.class, expression);
    You can also use query by example, which makes simple queries much simpler.

  • Help with build

    Hi all,
    I need a little help with building a new comp and any help will be appericiated.
    My wife is a video editor and she needs a new CPU.
    She is editing HD films from various cameras (she have several clients).
    The budget is around 1500-2000$ for the CPU without screens and software which she already owns.
    She is working with CS5.5 and using windows 7 pro 64bit.
    I read quite a lot in the past few days and I ended up more confused then I was, this is the setup which I thought of:
    CPU:       I was thinking about the i7 960 3.2 (310$) or the i7 2600k (330$).
    MB:         Asus p6x8D 1366 ddr 1600
    Graphics: Gigabyte nVidia GTX460 1gb gddr5 (210$) or gtx560(230$) the 570 is way off the budget (440$)
    BLURAY: Pioneer BDR-206
    RAM:      I don't know really.. I was thinking about 12gb but I am cluless about it.
    Power:     AX 850W Gold Active PFC 12cm Fan Modular (No particular reason, when I'll know my final setup I'll check the power I need with http://www.extreme.outervision.com/psucalculatorlite.jsp).
    Case:      Antec / Thermaltake, No idea which model..
    OS HDD: I'm still puzzled weather to go for the small (60gb) ssd for the OS and programs or go for a 7200 rpm hd.
    HDD:       W.D Caviar black 1tb 7200 rpm, 64mb, Sata III * 4 with raid on board (Raid 0 or Raid 5?  - I'll save it for another thread).
    Coolers:   Help needed
    Any help will be more then welcomed.
    Regards,
    Eliran.

    While waiting for a specific answer, you might read these recent discussions
    http://forums.adobe.com/thread/910208
    http://forums.adobe.com/thread/907698
    http://forums.adobe.com/thread/762381
    http://forums.adobe.com/thread/906848
    http://forums.adobe.com/thread/912120
    http://forums.adobe.com/thread/912119
    And one specific... SSD is high $$ and there is a thread concerning problems... forum search for ssd will find at least 2 message threads about using ssd or not

  • How do I build an expression for a multi-element in-list?

    How do I build an expression for a multi-element in-list? For example:
    SELECT * FROM employees
    WHERE (first_name, last_name, email) IN
    (('Guy', 'Himuro', 'GHIMURO'),('Karen', 'Colmenares', 'KCOLMENA'))
    Passing a Vector to Expression.in(Vector) where each element is a Vector of values itself will result in the appropriate expression for the values clause, but how to I get the columns to be considered together, that is, how do I get the "(first_name, last_name, email)" part?
    Steve

    Steve,
    I do not believe this is currently supported in the TopLink expression framework. Your best bet at this point will be to use custom SQL.
    Doug

  • Where is the build table express vi located in the function table?

    I must be blind but I can't locate the build table express vi in lv8 or 8.5.  Someone slap be upside the head and point it out.  Thanks

    It's on the Controls palette. Were you looking on the Functions palette?
    Message Edited by Dennis Knutson on 04-23-2008 08:22 PM
    Attachments:
    Express XY Graph.PNG ‏17 KB

  • Help installing flash detection express

    I need some help installing the flash express detection
    script.
    Can anyone advise me on this?
    1) This tutorial assumes that you have already added the
    Flash 8 detection scripts to a web page (as explained in the
    synopsis
    of the implementation process) and have already downloaded the
    Flash Player Detection Kit:
    a) After you've exported HTML with Flash detection from Flash
    8, move the JavaScript code found within the template's
    <head> tag to the same location in your page along with the
    JavaScript include, AC_OETags.js.
    What exactly is it there asking me to do here?
    Export what html with flash detection?
    Are they talking about when I insert the swf movie file?
    Not sure what there saying!
    Can you advise?
    Kevin

    I have several times tried to install adobe flash player (which I'l call ADF for short) and follow each step carefully, to the last step (apparently) stating that ADF is installed,but then I get an email from one source or another asking me to install ADF.  I have gone through this routine a number if times, and have a bunch of "Install ADF" signs scatted all over my desktop (I have an iMac). 
    Most recently,  I have received a message that, in order to install ADF, I need to uninstall all previous ADF's BEFORE I download and install an ADF,  so I download the uninstall App, thinking I will get some instuction, with that download in uninstalling the ADF residuals on my desktop
    Instead, what I get is a potful of UNINSTALL ADF units (which I don't know what to do with, littering my desktop.
    HELP!
    Gary Fry, Adobe ID 204233534

  • I am in the process of doing a Proof Of Concept / Evaluating products that can help us build a Java Application to Convert a PDF document to a Searchable PDF.   I wanted to check is there any simple JAVA API from Adobe to achive this ? Any direction in th

    I am in the process of doing a Proof Of Concept / Evaluating products that can help us build a Java Application to Convert a PDF document to a Searchable PDF. 
    I wanted to check is there any simple JAVA API from Adobe to achive this ? Any direction in this regard is greatly appreciated.@

    You can achieve this using LiveCycle PDF Generator JAVA API. You can find required code here:
    Adobe LiveCycle * Quick Start (SOAP mode): Converting a Microsoft Word document to a PDF document using the Java API
    In parameters:
    //Set createPDF2 parameter values
    String adobePDFSettings = "Standard";
    String securitySettings = "No Security";
    String fileTypeSettings = "Standard OCR";
    "Standard OCR" file type setting will run OCR on input pdf. In the code, instead of doc file provide a pdf file. Resultant pdf will be searchable PDF i.e OCRed PDF.
    Feel feel to ask any further questions.

  • Help in building alogic

    i need a lill help in building alogic
    suppose there is a table which has the fields and data as follows
    date flag
    01-SEP-2008 y
    02-SEP-2008     
    03-SEP-2008
    04-SEP-2008 y
    05-SEP-2008
    06-SEP-2008
    07-SEP-2008
    08-SEP-2008 y
    now i have to start selecting the records starting from bottom of the table i.e, from DATE:08-SEP-2008 FLAG:y
    till it finds the next flag set to YES i.e 04-SEP-2008.
    Thats means i have to select total of 5 records from bottom.
    Can you please help with the logic

    Hi,
    how about this?
    SQL> with t as ( -- "sample data"
      2  select '01-SEP-2008' date_, 'y' flag from dual union
      3  select '02-SEP-2008', null from dual union
      4  select '03-SEP-2008', null from dual union
      5  select '04-SEP-2008', 'y' from dual union
      6  select '05-SEP-2008', null from dual union
      7  select '06-SEP-2008', null from dual union
      8  select '07-SEP-2008', null from dual union
      9  select '08-SEP-2008', 'y'  from dual
    10  ) --"end sample data"
    11  select *
    12    from (select * from t where flag is not null order by date_ desc)
    13   where rownum <= 2;
    DATE_       FLAG
    08-SEP-2008 y
    04-SEP-2008 y

  • Urgent help needed in building an expression

    hi,
    I am using expression editor to build the following simple expression.
    "if inputvalue = 0 then 10 else 20"
    so Far I have used various forms of "IF" and "CASE" statements but could not successfully create the expression.Could not find anything useful in the help docs as well.
    any help asap would be highly appreciated..highly disappointed with OWB which does not allow to build such a simple expression and the user docs as well are very poor.

    Hi,
    There is something you need to know up front on expressions and transformations. Expressions are SQL expressions, whereas transformations are pl/sql.
    Looking at your pseudo code, you are trying to do a procedural thing. So there are 2 ways of doing this. One is correctly the case statement. For an example on how to do this go to the OWB sample code page on OTN (http://otn.oracle.com/sample_code/products/warehouse/content.html) where an explanation is given on how to do this. It includes an example metadata file for you to evaluate.
    The other way of doing this is in PL/SQL, in which case you would create a small function accepting in parameter and then doing the procedural language on that. To create this use the create functions activity in OWB. Here you will get a nice code editor (similar to the expression builder) to guide you in the creation of this function.
    Hope this helps,
    Jean-Pierre

  • Please help to build an sql from the given expression to build case condition with Where clause

    if  @rollno is not null then
    Select top  1 studentid  from student where rollno =:@rollno
    else
    if @regno is not null then
    Select top  1 studentid  from student where regno =:@regno
    Please help me to create  the above condition as  a single  sql statement . I will pass two argument in to the sql.
    With Thanks
    Pol
    polachan

    Select top 1 studentid from student
    where (rollno =:@rollno or :@rollno is null)
    and (regno =:@regno or :@regno is null)
    The above expression will work in SQL server
    I'm not sure you're using sql server as syntax like :@regno are not t-sql valid
    so you can try the above and if it doesnt work please try in the relevant forums for more help in case you're using a different RDBMS
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Help needed in JSP Expression Language

    Hi all,
    I have been working for JSP Expression Language Sample execution since past 5 days. I am using the application server as "Jboss Server" and web server as "Tomcat".
    I have been included the jsp-api.jar file in my lib directory of application server as well as source folder's lib directory.
    When i am trying to build the source code, i am getting this build error.
    [javac] D:\eclipse\workspace\esolvProject\development\src\com\esolv\taglibs\
    web\classes\SetSupport.java:186: cannot resolve symbol
    [javac] symbol : method getExpressionEvaluator ()
    [javac] location: class javax.servlet.jsp.PageContext
    [javac] ExpressionEvaluator evaluator = pageContext.getExpressionEvaluator();
    In my jsp-api.jar , there are two classes called,
    PageContext and JspContext, Both are abstract classes.
    PageContext inherits JspContext class. JspContext class have the method getExpressionEvaluator() , returns ExpressionEvaluator.
    PageContextImpl - class . it has been called internally when we are trying to call PageContext class. In PageContextImpl class, there is one comment before, the method's definition. that is
    " Since JSP 2.0 "
    But we have the JSP 2.0 version. But it won't work.
    Please help me ont this.
    Thanks in Advance,
    Natraj

    >
    If the pblm was due to setting the classpath.
    The error should be showed for all files in the jar
    file.
    why i am getting the error for particular method ?
    it is accessing the other methods of same class
    'JspContext' . but it is not accessing that method.
    Thats my question.
    Just check that your .jar file is 2.0 compliant and that you do not have any other jars(for servlet or jsp api) in the classpath.
    Probably you have an older version of .jar file in your path. So the errors will appear only for those methods that have been added since 2.0, all other methods would compile fine.
    Please tell me the jar files to work out the
    expression language. so that i can cross check my
    list of jars.Hmmm...I dont use jboss. In tomcat the jar file name is jsp-api.jar. But it would have been the same even for jsp1.1, going by jar file names wouldnt help. Just look at your cp as if with a microscope to identify redundant jars.
    cheers,
    ram.

  • Conditional build tags/expressions in the TOC

    Hello all,
    I've run into another issue with my conversion, this time with Conditional build tags and expressions.
    All seems to be fine in my topics, but not in my TOC.
    Some of my topic titles have words that have conditional text applied in the source FrameMaker document.
    These topic titles also appear in the TOC that's automatically generated when I link my Frame book to Robohelp.
    I set the conditional build expression in the Webhelp settings dialog and then Save and Generate.
    These topic titles appear to pick up the correct conditional build expression in the topics themselves, but the TOC heading shows multiple conditions (including the condition I've set to "Exclude").
    So, for example, if my topic title is
    "Conventions in this documentonline help"
    WHERE
    document > should appear in PDF only
    and
    online help > should appear in Webhelp only
    I can get the Webhelp topic to use the title "Conventions in this online help"
    but the corresponding TOC heading looks like this:
    "Conventions in this documentonline help"
    Any ideas?
    Thanks.
    Sue

    Conditional build tags are not imported to TOC from FrameMaker content. However, one can follow another approach to achieve this. One can manage the Conditional build expression in FrameMaker itself and import the filterted content in RoboHelp. Inorder to achieve this, set the conditional build expression in FrameMaker. Turn on the setting in RoboHelp to "Apply FrameMaker Conditional Text Build Expression". [File->Project Settings->Import->Edit(FrameMaker Settings)->Other Settings]
    This way RoboHelp will import only the filtered content with Conditional Build Tags resolved as per the expression applied in FrameMaker.
    Mayank

Maybe you are looking for

  • Bridge CS6 crashing on opening

    Hi, I'm having increasing problems with my Mac Book Pro. It crashes when opening Adobe Bridge CS6 with this error code: 19/10/2014 10:24:07.084 pm ReportCrash[1410]: com.apple.message.domain: com.apple.crashreporter.writereport.crash com.apple.messag

  • SOAP adapter looses attachment name

    We have a very annoying problem regarding the SOAP adapter. PI "looses" the attachment names when we send from one to the other PI system with the SOAP adapter. E.g. source attachment name is "invoice.pdf", on the target side it is "attachment-1". It

  • How to treat URL as a local file

    Hi, I am working on an existing piece of code. The whole code has been designed in such a way that all the methods take file as the argument. for example getMiMeType(File F) ........However, now my function is to add streaming capabilities so that le

  • Solaris possibly preventing RAID BIOS launch

    Hello I have installed a STLab A-230 2-Channel Serial ATA & ATA-133 RAID Combo and tried to boot into its RAID BIOS with no luck. The initial loading menu quickly switches to the multi-boot menu where you select to boot into Solaris or another OS. I

  • Dot matrix printer + page settings

    Hi friends I am creating an invoice layout for output in dot matrix printer . I am getting the layout prints properly but if 2 printouts are taken at a time by making the no. of messages in the invoice(vf02) as 2 , In the second page the details star