Posted: Mon Mar 14, 2011 4:15 pm Post subject: Compilation error when building bar
Disciple
Joined: 17 Jan 2006 Posts: 167 Location: Ohio
Broker 7.0
I'm getting a message flow compilation error when creating a BAR file in the toolkit.
Code:
Processing file Distribute_Transactions.msgflow
Failed to add file Distribute_Transactions.msgflow to archive file.
java.lang.NullPointerException
The Service Log adds a little more information:
Code:
Message flow SCS_Routing\Distribute_Transactions.msgflow successfully loaded
Error compiling SCS_Routing/Distribute_Transactions.msgflow
java.lang.NullPointerException
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addLogicConnsToTheLeft(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addAllLogicConnsFromTheLeft(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.reConnectFromLeft(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addConnections(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addAllConnections(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.flattenOneLevel(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.flattenMessageFlow(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.compile(Unknown Source)
at com.ibm.etools.mft.flow.compiler.MessageFlowCompiler.addToBarFile(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.barGeneratorDelegate(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.processDeployables(Unknown Source)
at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
Message flow SCS_Routing\Distribute_Transactions.msgflow failed to be added to archive file.
The toolkit shows no errors or warnings for the project.
I did notice that the filter nodes don't care for a filterExpression with a question mark, but the toolkit isn't reporting that as an error. (Other flows are also buildable with that same naming scheme.)
My question is:
Anyone else run into this before? I'm kinda stuck fixing a problem that appears to be internal to the compiler without any other information. Are there any other output files I should be looking at?
I wasn't able to identify any message set issues, so I was forced to remove components until it would build.
I ended up tracking it down to an illegal duplicate connection.
I had an MQOutputNode with 2 connections from the out to the same ResetContentDescriptor node. The Connection tool won't let you draw one, but it will let you move an existing connection into an illegal state.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum