| Author | 
		  Message
		 | 
		
		  | bprasana | 
		  
		    
			  
				 Posted: Wed Oct 13, 2010 12:33 pm    Post subject: create bar command line fails with some internal errors | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 18 Apr 2005 Posts: 179
  
  | 
		  
		    
			  
				I am getting some internal errors. Did you encounter this issue earlier?
 
 
Toolkit version is 6.1.0.3.
 
 
mqsicreatebar -trace -data C:\Workspace/Rel1 -b C:\Workspace/Rel1A_AMS/teat.bar -cleanBuild -p MF1 MS1 MSC -o MS1/messageSet.mset MF1/EDS_AgmtMgmt_MF.msgflow
 
 
 
[INFO] CommandProcessor: openWorkspace { openWorkspace }
 
Oct 13, 2010 1:28:37 PM com.ibm.etools.mft.util.UtilityPlugin logError
 
SEVERE:
 
A java.lang.StringIndexOutOfBoundsException exception occurred but provided no additional information.
 
 
Turn on tracing to capture details of the error. Retry the operation and contact your IBM support center.
 
java.lang.StringIndexOutOfBoundsException
 
        at java.lang.String.substring(String.java:1088)
 
        at com.ibm.etools.esql.lang.esqlparser.EsqlParser.addCommentStatement(Unknown Source)
 
        at com.ibm.etools.esql.lang.esqlparser.EsqlLexer.yylex(Unknown Source)
 
        at com.ibm.etools.esql.lang.esqlparser.EsqlParser.yylex(Unknown Source)
 
        at com.ibm.etools.esql.lang.esqlparser.EsqlParser.yyparse(Unknown Source)
 
        at com.ibm.etools.esql.lang.esqlparser.EsqlParser.parse(Unknown Source)
 
        at com.ibm.etools.esql.lang.builder.EsqlLangBuilder.composeSyntaxTree(Unknown Source)
 
        at com.ibm.etools.esql.lang.builder.EsqlLangBuilder.collectPublicSymbols(Unknown Source)
 
        at com.ibm.etools.esql.lang.builder.EsqlLangBuilder.processAddedFile(Unknown Source)
 
        at com.ibm.etools.mft.builder.AbstractBuilder.buildFiles(Unknown Source)
 
        at com.ibm.etools.mft.builder.AbstractBuilder.build(Unknown Source)
 
        at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
 
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
 
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
 
        at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
 
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
 
        at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:307)
 
        at org.eclipse.core.internal.resources.Project.build(Project.java:8 
 
        at com.ibm.etools.mft.bar.cmdline.BuildWorkspaceRunnable.run(Unknown Source)
 
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
 
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
 
        at com.ibm.etools.mft.bar.cmdline.CommandProcessor.openWorkspace(Unknown Source)
 
        at com.ibm.etools.mft.bar.cmdline.CommandProcessor.process(Unknown Source)
 
        at com.ibm.etools.mft.bar.cmdline.CompilerLaunch.run(Unknown Source)
 
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:7 
 
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:6 
 
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
        at java.lang.reflect.Method.invoke(Method.java:618)
 
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
 
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 
        at org.eclipse.core.launcher.Main.run(Main.java:996)
 
        at org.eclipse.core.launcher.Main.main(Main.java:971)
 
[INFO]  { openWorkspace() complete, buildRequired = false }[/quote] | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Oct 13, 2010 4:01 pm    Post subject: Re: create bar command line fails with some internal errors | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| bprasana wrote: | 
   
  
	| Turn on tracing to capture details of the error. Retry the operation and contact your IBM support center. | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqsiuser | 
		  
		    
			  
				 Posted: Mon Oct 13, 2014 6:14 am    Post subject: Re: create bar command line fails with some internal errors | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 15 Apr 2008 Posts: 637 Location: Germany 
  | 
		  
		    
			  
				I have the same problem.
 
 
Did anyone run into this and find a solution ?
 
 
I can't turn on tracing  
 
 
   
	| Code: | 
   
  
	C:/Program Files/ibm/WMBT700/mqsicreatebar -data <workspace> -b <barFile> -p <flows> -o  <msgSets>
 
 
     [exec] 13.10.2014 15:54:53 com.ibm.etools.mft.util.UtilityPlugin logError
 
     [exec] SEVERE: 
 
     [exec] Es ist eine java.lang.StringIndexOutOfBoundsException-Ausnahme aufgetreten, die folgende Nachricht ausgab: String index out of range: 19.
 
     [exec] Aktivieren Sie die Tracefunktion, um Details zum Fehler zu erfassen. Wiederholen Sie die Operation, und benachrichtigen Sie das IBM Support Center.
 
     [exec] Throwable occurred: java.lang.StringIndexOutOfBoundsException: String index out of range: 19
 
     [exec]    at java.lang.String.substring(Unknown Source)
 
     [exec]    at com.ibm.etools.esql.lang.validation.EsqlExpressionValidationVisitor.validate(Unknown Source)
 
     [exec]    at com.ibm.etools.esql.lang.validation.EsqlExpressionValidationVisitor.visit(Unknown Source)
 
     [exec]    at com.ibm.etools.esql.lang.esqlexpression.impl.LeftValueImpl.accept(Unknown Source)
 
     [exec]    at com.ibm.etools.esql.lang.emf.AbstractExpressionVisitor.visitSyntaxNode(Unknown Source)
 
     [exec]    at com.ibm.etools.esql.lang.emf.AbstractExpressionVisitor.visitExpressionList(Unknown Source) | 
   
 
 _________________ Just use REFERENCEs | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Oct 13, 2014 6:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Hopefully you're not using 6.1.0.3....
 
 
Sounds like the Toolkit is not quite installed correctly. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqsiuser | 
		  
		    
			  
				 Posted: Mon Oct 13, 2014 6:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 15 Apr 2008 Posts: 637 Location: Germany 
  | 
		  
		    
			  
				Thank you for your reply.
 
 
   
	| Code: | 
   
  
	WebSphere Message Broker Toolkit - Message Broker
 
 
Version: 7.0.0.6
 
Build id: 7.0.0.6-20130724_1212
 
 
(c) Copyright IBM Corp. and others 2000, 2013.  All rights reserved. | 
   
 
 
 
... could still be that we need to upgrade (and that this versions includes a bug).
 
 
The command is very long (>2500 characters, >70 parameters passed in).
 
 
The resulting *.bar-File seems to include all (required) MsgSets and Flows.
 
 
Seems like we can ignore the error (for now). _________________ Just use REFERENCEs | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |