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 » Message Set Compile Error - Java NullPointer Exception

Post new topic  Reply to topic
 Message Set Compile Error - Java NullPointer Exception « View previous topic :: View next topic » 
Author Message
meli7a
PostPosted: Mon Aug 31, 2009 10:39 pm    Post subject: Message Set Compile Error - Java NullPointer Exception Reply with quote

Newbie

Joined: 31 Aug 2009
Posts: 3

Hi,

Appreciate if anyone can help with below.

I have used "Start from WSDL/XSD files" to create a new .mxsd message set project from XSD files. I am able to build this project, however, when I try to add to bar file I get the error below.

It goes through the "Processing File : *.mxsd" without issues. However, it hits error when it gets to "Saving File : *.xsd".

Does anyone have any idea why this happens? Thanks much.


"Saving File : "/*/*/*l/*.xsd"


BIP0182E Message Set compile error.

A exception was thrown while compiling the Message Set. The cause of the error was an exception of type "class java.lang.NullPointerException", with message "null". The stack trace at the time of the error was:
"java.lang.NullPointerException

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferencesInternal(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.fixExternalReferences(Unknown Source)

at com.ibm.etools.msg.dictionary.XSDZipGenerator.extractSchema(Unknown Source)

at com.ibm.etools.msg.dictionary.DictionaryCompiler.addMultipleToBarFile(Unknown Source)

at com.ibm.etools.mft.bar.internal.model.AddToBARFileOperation.multipleBarGeneratorDelegate(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)

"

Retry the operation and contact your IBM support center.

Operation failed

BIP0841E The resource messageSet.mset could not be added to broker archive file *.bar."
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Sep 01, 2009 12:49 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

And you thought you'd post this in the clustering section because?????

If you start with a really simple XSD (say just a root element) do you still get this issue?

What version of the toolkit are you on?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 01, 2009 3:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to correct forum
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 01, 2009 3:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Aside from the valid points mentioned above, does the toolkit work on other deploys / message sets? Or is this your first attempt after installation?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Sep 01, 2009 3:52 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This is a known problem. Other users have worked around it by starting their workspace with -clean, or by deleting and recreating the message set from scratch.
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 » Message Set Compile Error - Java NullPointer Exception
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.