ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Compilation error when building bar

Post new topic  Reply to topic
 Compilation error when building bar « View previous topic :: View next topic » 
Author Message
mattfarney
PostPosted: Mon Mar 14, 2011 4:15 pm    Post subject: Compilation error when building bar Reply with quote

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?

Thanks in advance.
-mf
Back to top
View user's profile Send private message
mattfarney
PostPosted: Mon Mar 14, 2011 4:16 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

BTW, I'm not using any Java or anything special in this project.
Just a MessageSet and basic routing flows and esql.

-mf
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 14, 2011 7:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This error would be pointing to a mapping node file with an unresolved source message set.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mattfarney
PostPosted: Tue Mar 15, 2011 4:32 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

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.

-mf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Compilation error when building bar
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.