NullPointerException in JAXB

Hi all,
I have a problem with JAXB. I installed the jwsdp-1_6-windows-i586.exe,
and made some test running the xjc using the command line. It works fine,
all Classes has been created and compiled. Furthermore I wanted to use it
within eclipse. I created a new Project, copied all needed libs into it,
but I got a NPE:
E:\eclipse>E:\java\j2sdk1.4.2_04\bin\java -Djava.endorsed.dirs=E:\workspace\_internTestJAXB\lib;E:\workspace\_internTestJAXB\lib\endorsed -jar E:\workspace\_internTestJAXB\lib\jaxb-xjc.jar E:\workspace\_internTestJAXB\xsd\faa.xsd -p de.jaxb.bo -d E:\workspace\_internTestJAXB\src\
parsing a schema...
compiling a schema...
Exception in thread "main" java.lang.NullPointerException
at com.sun.tools.xjc.generator.SkeletonGenerator.generateStaticRuntime(SkeletonGenerator.java:238)
at com.sun.tools.xjc.generator.SkeletonGenerator.<init>(SkeletonGenerator.java:130)
at com.sun.tools.xjc.generator.SkeletonGenerator.generate(SkeletonGenerator.java:110)
at com.sun.tools.xjc.Driver.generateCode(Driver.java:379)
at com.sun.tools.xjc.Driver.run(Driver.java:220)
at com.sun.tools.xjc.Driver._main(Driver.java:80)
at com.sun.tools.xjc.Driver.access$000(Driver.java:46)
at com.sun.tools.xjc.Driver$1.run(Driver.java:60)
Someone an idea what's wrong?
Thanks in advance,
zzkozak

It looks like a build path problem with your Eclipse project. Why not try an Ant script such as the following? It's much easier than using xjc from the command line.
<?xml version="1.0" standalone="yes"?>
<project name="DataExtract JAXB Build" basedir="." default="run">
     <description>
          Controls the JAXB XML schema and Java compilations and wraps the results into a JAR file.
    </description>
     <!-- Change this property to point to the JWSDP installation directory on your machine.  -->
     <property name="jwsdp.home" value="C:\Program Files\Java\jwsdp-1.6" />
     <path id="classpath">
          <pathelement path="src" />
          <fileset dir="${jwsdp.home}" includes="jaxb/lib/*.jar" />
          <fileset dir="${jwsdp.home}" includes="jwsdp-shared/lib/*.jar" />
          <fileset dir="${jwsdp.home}" includes="jaxp/lib/**/*.jar" />
     </path>
     <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
          <classpath refid="classpath" />
     </taskdef>
     <target name="run" description="Compile the XML schemas and all the Java source files they create.">
          <echo message="Compiling the Schema..." />
          <mkdir dir="tmpClasses" />
          <mkdir dir="tmpSource"/>
          <echo message="Doing forum.xsd..." />
          <xjc schema="forum.xsd" package="extract" target="tmpSource" />
          <echo message="Compiling the java source files..." />
          <javac srcdir="tmpSource" destdir="tmpClasses" debug="on" >
               <classpath refid="classpath" />
          </javac>
          <echo message="Bundling the generated classes and source files into forum.jar"/>
          <jar destfile="forum.jar" update="true">
               <fileset dir="tmpClasses"/>     
               <fileset dir="tmpSource"/>
          </jar>
          <echo message="Cleaning up the working directories."/>          
          <delete dir="tmpClasses"/>
          <delete dir ="tmpSource"/>
     </target>
</project>Copy this script into a file called build.xml within your Eclipse project. Change the value of jwsdp.home to the location of your JWSDP installation, and change the name of the Schema. With the script and the Schema in the same directory, right-click on the file and select Run As -> Ant Build.
This script bundles the generated classes into a jar file and and then deletes the source. But, you can play around with it if you want to do something else.

Similar Messages

  • Jaxb is giving NullPointerException  at com.sun.xml.bind.v2.model.impl.Prop

    Hi,
    I am getting null pointer exception , i dont whether it is due to jar mismatch or what ???
    I have a stand alone application which created java classes from one schema file and , i construct xml file by
    inputting some values. It works fine in my machine. But when i deploy it our product which has tomcat6 it
    gives the following exception.
    ava.lang.NullPointerException
         at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:287)
         at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:260)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl.getTypes(ElementPropertyInfoImpl.java:100)
         at com.sun.xml.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.getTypes(RuntimeElementPropertyInfoImpl.java:50)
         at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.size(ElementPropertyInfoImpl.java:42)
         at java.util.AbstractList$Itr.hasNext(AbstractList.java:341)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
         at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
         at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:343)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:340)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:340)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:204)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:589)
         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
         at javax.xml.bind.ContextFinder.find(ContextFinder.java:381)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
         at com.facetime.rtgsm.extractor.GenerateXml.GenerateXmlForSkypeManagementOnly(Unknown Source)
         at com.facetime.rtgsm.extractor.JDBCToXML.getXmlStringForModalities(Unknown Source)
         at com.facetime.rtgsm.publisher.MessagePublisherClient.sendMessage(Unknown Source)
         at com.facetime.rtgsm.publisher.MessagePublisherJob.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    Any help would be be grately appreciated :)

    Check whether jaxb-ri.jar is there in your class path

  • Oracle.xml.jaxb.JaxbNode.setJaxbAttr errors with NullPointerException

    Hi all,
    I have generated JAXB implementation classes and while instantating them with their setter functions I get the following error:
    Caused by: java.lang.NullPointerException
         at oracle.xml.jaxb.JaxbNode.setJaxbAttr(JaxbNode.java:1067)
    Does anybofy have any clue of what is wrong ?

    Indicates a method on a null node is invoked.

  • HELP GURU NEEDED!!!    JAXB NotSerializableException/NullPointerException

    Hi,
    This is one for the Gurus.
    I have a JAXB implementation that unmarshalls an xml stream into a instance of type HIEAIXMLDOC.
    The methods to create this are wrapped up in a session EJB and pass the unmarshaled HIEAIXMLDOC instance back to a client.
    On the client side I want to call methods on the unmarshalled doc HIEAIXMLDOC to get my data.
    The first problem I encountered was the NotSerializableException being thrown when I attempted to unmarshall my xml stream into the HIEAIXMLDOC class (on the server side).
    I then implemented the Serializable interface on this class and rebuilt the JAXB classes that seemed to work and I was allowed to call the unmarshall method to unmarshall the xml stream and so create the HIEAIXMLDOC instance.
    Now the what happens is that an object seems to be passed back to the calling client class but it contains no information and the NullPointerException is being thrown.
    The funny thing I noticed was that on the server side (ie within my session ejb) I called the same methods that I called on the client side and they return valid data on the server side?????
    So basically my HIEAIXMLDOC instance is working and valid on the server side but once it is passed to the client it looses all data within.
    I'm a bit stumped on this one and have no gurus to talk to about this.
    Any help is greatly appreciated.
    thanks in advance
    Paul

    I can't comment on your sepcific problem but we have just had a similar issue with converting a JAXB set of code into an EJB. What you need to know for this is here:
    http://java.sun.com/webservices/docs/1.2/jaxb/vendorCustomizations.html
    If you use a binding file, just put the customisations in there (thats what we did).
    (we didn't use the Uid= part of the serialise flag)
    Hope this helps.

  • NullPointerException while schema compiling in JAXB

    I want to compile po.xsd which is used in examples but when I do that the compiler throws a NullPointerException.
    Here is the output:
    C:\Sun\jwsdp-1.6\jaxb\bin>xjc -d c:\_generated_schemas c:\_generated_schemas\po.xsd
    parsing a schema...
    compiling a schema...
    generated\impl\runtime\SAXMarshaller.java
    generated\impl\runtime\MarshallerImpl.java
    generated\impl\runtime\ValidatableObject.java
    generated\impl\runtime\GrammarInfoImpl.java
    generated\impl\runtime\NamespaceContext2.java
    generated\impl\runtime\UnmarshallingEventHandler.java
    generated\impl\runtime\UnmarshallableObject.java
    generated\impl\runtime\ContentHandlerAdaptor.java
    generated\impl\runtime\SAXUnmarshallerHandler.java
    generated\impl\runtime\XMLSerializable.java
    generated\impl\runtime\InterningUnmarshallerHandler.java
    generated\impl\runtime\Discarder.java
    generated\impl\runtime\GrammarInfoFacade.java
    generated\impl\runtime\UnmarshallingContext.java
    generated\impl\runtime\IdentityHashSet.java
    generated\impl\runtime\XMLSerializer.java
    generated\impl\runtime\SAXUnmarshallerHandlerImpl.java
    generated\impl\runtime\DefaultJAXBContextImpl.java
    generated\impl\runtime\AbstractUnmarshallingEventHandlerImpl.java
    generated\impl\runtime\ValidatingUnmarshaller.java
    generated\impl\runtime\ValidatorImpl.java
    generated\impl\runtime\GrammarInfo.java
    generated\impl\runtime\Util.java
    generated\impl\runtime\MSVValidator.java
    generated\impl\runtime\PrefixCallback.java
    generated\impl\runtime\UnmarshallerImpl.java
    generated\impl\runtime\ErrorHandlerAdaptor.java
    generated\impl\runtime\ValidationContext.java
    generated\impl\runtime\UnmarshallingEventHandlerAdaptor.java
    generated\impl\runtime\NamespaceContextImpl.java
    generated\impl\CommentImpl.java
    Exception in thread "main" java.lang.NullPointerException
    at com.ibm.nio.cs.SBCS_Encoder.canEncode(SBCS_Encoder.java:199)
    at com.sun.codemodel.JPackage$1.requireEscaping(JPackage.java:356)
    at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.
    java:28)
    at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.
    java:54)
    at com.sun.codemodel.util.UnicodeEscapeWriter.write(UnicodeEscapeWriter.
    java:66)
    at java.io.PrintWriter.newLine(PrintWriter.java(Compiled Code))
    at java.io.PrintWriter.println(PrintWriter.java(Compiled Code))
    at com.sun.codemodel.JFormatter.nl(JFormatter.java:159)
    at com.sun.codemodel.JPackageMemberClass.declare(JPackageMemberClass.jav
    a:60)
    at com.sun.codemodel.JPackage.build(JPackage.java:364)
    at com.sun.codemodel.JCodeModel.build(JCodeModel.java:157)
    at com.sun.tools.xjc.Driver.run(Driver.java:235)
    at com.sun.tools.xjc.Driver._main(Driver.java:80)
    at com.sun.tools.xjc.Driver.access$000(Driver.java:46)
    at com.sun.tools.xjc.Driver$1.run(Driver.java:60)
    What do I wrong?? Please help
    My Java SDK is 1.42

    Make sure that Java Home environment set to other then IBM jre
    or if you are running xjc.bat add the following line at the starting :
    set JAVA_HOME=C:\Progra~1\ibm\websph~1.1\eclipse\jre

  • JAXB NullPointerException

    Using JDev 10g, with jaxb-api.jar, xml.jar, xmlparserv2.jar, xmlmesg.jar on classpath, I get the following error testing some JAXB code:
    java.lang.NullPointerException
    at oracle.xml.jaxb.JaxbNode.resetTypeName(JaxbNode.java:457)
    at oracle.xml.jaxb.JaxbNode.setElement(JaxbNode.java:301)
    I generated the java classes using orajaxb.bat using:
    -outputDir c:\test\ccyp\src\java
    -schema ccyp.xsd
    -targetPkg ccyp.test.jaxb
    the java code is:
    JaxbContextImpl jaxbContext = new JaxbContextImpl();
    Marshaller marshaller = jaxbContext.createMarshaller();
    ObjectFactory factory = new ObjectFactory();
    MsgImpl msg=(MsgImpl)(factory.createMsg());
    MsgHeaderImpl hdr=(MsgHeaderImpl)(factory.createMsgHeader());
    hdr.setAgencyBatchReference("ref");
    hdr.setAgencyId("id");
    msg.setMsgHeader(hdr); // <-- THIS LINE CAUSES THE ERROR
    In case it helps, the schema I'm using:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:element name="Agency_Id" type="xs:string"/>
    <xs:element name="Agency_batch_reference" type="xs:string"/>
    <xs:element name="msg">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="msgHeader"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="msgHeader">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="Agency_batch_reference"/>
    <xs:element ref="Agency_Id"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    and the output XML s/be:
    <msg>
    <msgHeader>
    <Agency_batch_reference>ref</Agency_batch_reference>
    <Agency_Id>id</Agency_Id>
    </msgHeader>
    </msg>
    Please suggest what I have to do to make this work with Oracle (within a EJB container)?

    Thanks I'll try that. it seems a lot of casts required in the oracle jaxb implementation.
    from JaxbNode.class (xml.jar) in oracle xdk_nt_10_1_0_2_0_production.zip
    private void resetTypeName(XMLNode xmlnode, String s, String s1)
    if(!xmlnode.getLocalName().equals(s) || !xmlnode.getNamespaceURI().equals(s1))
    ((XMLElement)xmlnode).setTagName(s1, s);

  • Parsing Problem in JAXB

    Hi, I am getting run time exception. I have kept all 4 jar files in classpath..
    Exception::javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactor
    y_1_0_1 not found
    - with linked exception:
    [java.lang.ClassNotFoundException: com.sun.xml.bind.ContextFactory_1_0_1]
    Exception in thread "main" java.lang.NullPointerException
    at com.veritas.ProcessItem.readItem(ProcessItem.java:117)
    at com.veritas.ProcessItem.<init>(ProcessItem.java:86)
    at com.veritas.ProcessItem.main(ProcessItem.java:126)
    So wht could be the reason??
    Thanks
    Chintan

    I've the same problem, but in java 6.
    The jaxb jars are included in jdk6, right?

  • In wadl2java-generated code, NullPointerException from HttpTransportPipe

    I wrote a WADL document and used JAXB schemagen to create an XSD for my Jersey RESTful web-service, and referenced that XSD in that WADL document.
    Then, I used wadl2java to generate client-code for my service.
    However, then, I had numerous jar-dependency problems while trying to run that generated code. Perhaps I got myself into some trouble by choosing the wrong jar-file in one case or another. I thought it was odd that one of the missing class-files was SOAPException. Another one is part of FastInfoSet. And one of the problems seemed to require adding a JSR-related jar provided by BEA.
    I managed to find some possibly relevant source-code. However, it seems to simply indicate no need for an outputStream for a GET-request, which makes lots of sense:
    From HttpClientTransport:
    118:            public OutputStream getOutput() {
    119:                try {
    120:                    createHttpConnection();
    121:                    sendCookieAsNeeded();
    122:                    // for "GET" request no need to get outputStream
    123:                    if (requiresOutputStream()) {At this point, I'm not able to use wadl2java, thanks to this failure to get this generated client-code running. I'd like to avoid writing custom client-code instead. I'd sooner revert to SOAP and wsdl2java.
    Any help with this would be much appreciated.
    Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.NullPointerException
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:157)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.client.Stub.process(Stub.java:228)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:167)
         at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:193)
         at com.sun.research.ws.wadl.util.JAXBDispatcher.doGET(JAXBDispatcher.java:92)
         at com.foo.bar.restapi.client.Endpoint$Product.getAsProduct(Endpoint.java:66)
         at com.foo.bar.restapi.client.Test.main(Test.java:9)
    Caused by: java.lang.NullPointerException
         at java.io.Writer.<init>(Unknown Source)
         at java.io.OutputStreamWriter.<init>(Unknown Source)
         at com.bea.xml.stream.XMLOutputFactoryBase.createXMLStreamWriter(XMLOutputFactoryBase.java:45)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:204)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory$Default.doCreate(XMLStreamWriterFactory.java:199)
         at com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.create(XMLStreamWriterFactory.java:152)
         at com.sun.xml.ws.encoding.xml.XMLCodec.encode(XMLCodec.java:35)
         at com.sun.xml.ws.encoding.MimeCodec.encode(MimeCodec.java:64)
         at com.sun.xml.ws.encoding.XMLHTTPBindingCodec.encode(XMLHTTPBindingCodec.java:173)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:128)
         ... 11 more

    Thanks, that solved that problem.
    Then, however, I had a couple of other problems, having to do with namespace declarations. I've apparently fixed them.
    The one remaining problem is that the generated code seems to treat a certain template parameter as if it were a header-parameter. The WADL-file definitely uses style="template" for that parameter.
    I temporarily manually patched the generated EndPoint class to get it working.
    The effect of this problem was that the result was in the form of the HTML-message returned by Apache when a resource cannot be found. That was because that template parameter was missing and was being passed instead in a header.
    Perhaps I'll investigate this further at some point. However, "time's a wastin'", and reverting to SOAP is now quite likely.
    Thanks.

  • Jax-ws deployed in standalone client fails with nullpointerexception

    I have a project which has deployed successfully as a standalone client with deployed jar files wlfullclient.jar, etc. When I add the jax-ws functions that I require, the deployed client fails with a nullpointerexception that is generated from the constructor of the Service class. The project runs successfully within the JDeveloper 11.1.1.5 environment and on a weblogic 10.3 server platform, but fails when I deploy as a standalone client with the wlfullclient.jar. I'm using JDK 1.6.0_24. In testing, the error occurs when I replace the {WLHome}\server\lib\weblogic.jar entry in the classpath with the wlfullclient.jar.
    I tested from another angle by creating my jax-ws functions in a standalone deployment, and it works successfully communicates with the webservices. No additional entries on the classpath besides my deployed jar. I then added to my deployment a simple JMS context lookup:
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, contextFactoryProvider);
    ht.put(Context.PROVIDER_URL, urlString);
    Context context = new InitialContext(ht);
    This test runs without error in the JDeveloper environment. As soon as I add the wlfullclient.jar in the standalone environment, I get the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/ws/spi/ProviderImpl
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:150)
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:30)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:90)
    at javax.xml.ws.spi.Provider.provider(Provider.java:83)
    at javax.xml.ws.Service.<init>(Service.java:56)
    Interestingly, there is a class com/sun/xml/internal/ws.spi/ProviderImpl in the {JAVA_HOME}/jre/lib/rt.jar file, and I suppose this is what is used by the jax-ws classes when the wlfullclient.jar is not present on the classpath.
    So, what is it that I am missing in how to get the jax-ws classes and the jms classes to work in the standalone deployment environment (outside of the JDeveloper environment).
    Edited by: user3653687 on Jan 9, 2012 1:38 PM
    Edited by: user3653687 on Jan 9, 2012 2:49 PM

    Here is how I solved this problem to execute the application from a jar file (using Oracle Fusion Middleware 11.1.1.5.0 distribution). The key seems to be to extract the contents of the wseeclient.zip file into the same directory as the wlfullclient.jar and ws.api_1.1.0.0.jar files and then ensure that these 2 jars are on the classpath.
    In JDeveloper, create a project that has the jms/jax-ws classes.
    Put the following text entries to form the classpath (along with other dependent jars, e.g. org.eclipse.persistence...) into a file which will be included in the manifest for the client jar. Be sure to separate entries with a space.
    lib/wlfullclient.jar lib/wseeclient.jar lib\ws.api_1.1.0.0.jar lib\org.eclipse.persistence_1.1.0.0_2-1.jar
    In the Edit Deployment Profile Properties, select Include Manifest File, specify the main class to execute, and Add the classpath file to be included in the manifest.
    Deploy the jar file.
    In a deployment area, create the directory that will contain all the classpath jars (e.g. ./lib).
    Within the directory ./lib, extract all files from wseeclient.zip (found in {weblogic home}/server/lib)
    Copy wlfullclient.jar into the directory ./lib from the {weblogic home}/server/lib
    Copy ws.api_1.1.0.0.jar into the directory ./lib from {oracle middleware home}modules
    Copy org.eclipse.persistence_1.1.0.0_2-1.jar (for jaxb support) itno the directory ./lib from {oracle middleware home}/modules
    Copy the deployed client jar to the deployment area and execute, e.g.:
    java -jar ClientTest.jar myArguments

  • Awkward NullPointerException in Xalan transformations

    L.S,
    I'm having a serious problem with XSL transformations using Apache Xalan 2.6.0: a transformation works once, but multiple calls to the method will cause a null-pointer exception to occur within the TrAXFilter object taking care of the transformation.
    The class responsible for transforming any XML messages in our system looks like this (class MessageWriter appearing at line 14 is a JAXB marshalling class we've developed; class FilterManager appearing at line 21 returns an array of 1 hard-coded XMLFilter object):
    public class MessageBuilder {
      private final static SAXParserFactory XML_PARSER = SAXParserFactory.newInstance();
      public static String getXmlMessage(MessageSDO message) {
        String xml = MessageWriter.doMarshal(message);
        try {
          SAXParser parser = XML_PARSER.newSAXParser();
          XMLReader reader = XMLReaderFactory.createXMLReader();
          InputSource srcInput = new InputSource(new StringReader(xml));
          FilterManager ftrManager = (FilterManager) ConfigurationManager.
            getInstance(ConfigurationManager.BOUNDARY).getBean(FilterManager.class);
          XMLFilter[] filters = ftrManager.getOutputFilters(message);
          if (filters.length > 0) {
            for (int i=0;i<filters.length;i++) {
              filters.setParent((i==0)? reader : filters[i-1]);
    Serializer serializer = SerializerFactory.getSerializer(OutputPropertiesFactory.getDefaultMethodProperties("xml"));
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    serializer.setOutputStream(output);
    filters[filters.length-1].setContentHandler(serializer.asContentHandler());
    filters[filters.length-1].parse(srcInput);
    xml = output.toString();
    } catch (Exception e) {
    throw new RuntimeException(e);
    return xml;
    The test I've run (if 2nd block commented out test succeeds, otherwise it fails on that 2nd attempt):
    public void testTransformedOutput() {
      System.out.println("Transformed output test:\n\n");
      MessageSDO msg = MockSDOFactory.getInstance().getMessageSDO();
      String xmlMsg = MessageBuilder.getXmlMessage(msg);
      /*System.out.println("Transformed output test, 2nd pass:\n\n");
        MessageSDO msg2 = MockSDOFactory.getInstance().getMessageSDO();
        String xmlMsg2 = MessageBuilder.getXmlMessage(msg2);*/
    }The exception message:
    java.lang.RuntimeException: java.lang.NullPointerException
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:658)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:334)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
    at org.boundary.helper.MessageBuilder.getXmlMessage(MessageBuilder.java:36)
    // Line 36 in MessageBuilder is:
    // filters[filters.length-1].parse(srcInput);What I don't yet understand is how TrAXFilter manages to somehow not have a parent in the 2nd pass of the test, while it does in the 1st pass. I've tried a few things already, but so far haven't been able to find a solution.
    Does anyone know of a bug like this? Or is it clear to someone what I'm doing completely wrong here? I'd appreciate any help you can offer.

    I've been able to solve this problem and since others might be interested, I thought I'd post the solution here as well.
    It turns out that XMLFilter objects cannot be reused. This isn't documented very well, and undoubtedly doesn't come as a surprise to the more experienced XML specialists out there, but it's something you need to know. As a result, instead of using XMLFilter objects for repetetive transformations, you need to use an alternative, namely [url http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/Templates.html]Templates objects:
    final SAXTransformerFactory FACTORY = (SAXTransformerFactory) TransformerFactory.newInstance();
    File xslFile = new File("someStylesheet.xsl");
    StreamSource src = new StreamSource(xslFile);
    Templates template = FACTORY.newTemplates(src);
    // Later on, you can repeatedly do this:
    String xml = getSomeXMLDocument();
    InputSource srcInput = new InputSource(new StringReader(xml));
    XMLFilter filter = FACTORY.newXMLFilter(template); // Use cached template instead of parsing XSL file every time...
    XMLReader reader = XMLReaderFactory.createXMLReader();
    filter.setParent(reader);
    Serializer serializer = SerializerFactory.getSerializer(OutputPropertiesFactory.getDefaultMethodProperties("xml"));
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    serializer.setOutputStream(output);
    filter.setContentHandler(serializer.asContentHandler());
    filter.parse(srcInput);
    String xml = output.toString();

  • Unmarshalling a DOM node to an XML file with JAXB

    I'm trying to unmarshall a DOM node to an XML file using JAXB. However I keep receiving a NullPointerException. This only seems to occur when I create the DOM Node from scratch. The stack trace looks like the following:
    java.lang.NullPointerException
            at com.sun.xml.bind.unmarshaller.SAXUnmarshallerHandlerImpl.startElement
    (SAXUnmarshallerHandlerImpl.java:87)
            at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:109)
            at com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:64)
            at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(Unmarshaller
    Impl.java:149)
            at Main.main(Main.java:103)(If I unmarshal an XML file into a DOM node, I can successfully marshall the DOM node out to a new XML file using JAXB without error.)
    Any insight into what I am doing wrong would be greatly appreciated!
    Sample code and XSD follow...
    Sample Code:
    import itemlistsample.*;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Iterator;
    import java.util.List;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.JAXBException;
    import javax.xml.bind.Marshaller;
    import javax.xml.bind.Unmarshaller;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    public class Main
      public static void main(String[] args)
          try
              JAXBContext jc = JAXBContext.newInstance( "itemlistsample" );
              Unmarshaller u = jc.createUnmarshaller();
              * Set up DOM Node Document Object.
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              dbf.setNamespaceAware(true);                   
              DocumentBuilder db = dbf.newDocumentBuilder(); 
              Document doc = db.newDocument();
              System.out.println();
              System.out.println();
              System.out.println("Create a DOM Node and unmarshall to an XML file");
              * Generate elements within DOM document
              Element itemListElt = (Element)doc.createElement("item_list");
              Element itemInfo = (Element)doc.createElement("item_info");
              Element name = (Element)doc.createElement("name");
              Element price = (Element)doc.createElement("price");
              * 3-Ring Binder @ 4.99
              name.appendChild(doc.createTextNode("3-Ring Binder"));
              itemInfo.appendChild(name);
              price.appendChild(doc.createTextNode("4.99"));
              itemInfo.appendChild(price);
              itemListElt.appendChild(itemInfo);
              * Large Paper Clips @ 1.23
              itemInfo = (Element)doc.createElement("item_info");
              name = (Element)doc.createElement("name");
              price = (Element)doc.createElement("price");
              name.appendChild(doc.createTextNode("Large Paper Clips"));
              itemInfo.appendChild(name);
              price.appendChild(doc.createTextNode("1.23"));
              itemInfo.appendChild(price);
              itemListElt.appendChild(itemInfo);
              doc.appendChild(itemListElt);
              * Display DOM document as a sanity check
              itemListElt = doc.getDocumentElement();
              System.out.println(itemListElt.getTagName());
              NodeList nl = itemListElt.getElementsByTagName("item_info");
              traverse("  ", nl.item(0));
              * Use JAXB to unmarshal the DOM document into
              * an instance of the generated JAXB class for
              * the root element.  Stack trace occurs here!
              ItemListType il = (ItemListType)u.unmarshal(doc);
              * Marshal to an XML file
              Marshaller m = jc.createMarshaller();
              m.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE );
              m.marshal( il, new FileOutputStream("item_new.xml") );
          catch (Exception e)
         e.printStackTrace();
      public static void traverse(String indent, Node n)
        if (n != null)
          if (n.getNodeName() != null)
            System.out.println(indent + n.getNodeName());
            traverse(indent + "  ", n.getFirstChild());
          if (n.getNodeValue() != null)
            System.out.println(indent + n.getNodeValue());
          traverse(indent, n.getNextSibling());
    }Sample XSD:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:element name="item_list" type="ItemListType"/>
         <xsd:complexType name="ItemListType">
              <xsd:sequence>
                   <xsd:element name="item_info" type="ItemInfoType" maxOccurs="unbounded"/>
              </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="ItemInfoType">
              <xsd:sequence>
                   <xsd:element name="name" type="xsd:string"/>
                   <xsd:element name="price" type="xsd:double"/>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>

    Modified schema
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="item_list">     
    <xsd:complexType>          
    <xsd:sequence>               
    <xsd:element ref="item_info" maxOccurs="unbounded"/>     
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="item_info">
         <xsd:complexType>          
    <xsd:sequence>               
    <xsd:element name="name" type="xsd:string"/>     
         <xsd:element name="price" type="xsd:double"/>     
         </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

  • Marshalling with JaxB and HyperJaxb

    Hi guys,
    Can you guys help me based on what is happening below? What I don't
    understand is that HyperJaxB inserts the data fine. I only have
    this problem when pulling it out.
    In the schema, the element type is stated with minoccurs=0. It is true, that sometimes the data may or may not be present. I have also added nillable="true" to the XSD, but this doesn't seem to make a difference.
    Doing some more research on the problem, I discovered that it is
    because some of the XML types in my schema are optional. They occur
    in some documents and not others of the same type.
    Thanks,
    I am getting a null pointer exception as shown below:
    java.lang.NullPointerException
         at org.midwestiso.markets.markets.xml.impl.runtime.Util.getUserFriendlyTypeName(Util.java:71)
         at org.midwestiso.markets.markets.xml.impl.runtime.Util.handleTypeMismatchError(Util.java:56)
         at org.midwestiso.markets.markets.xml.impl.MKTDETTYPTypeImpl.serializeURIs(MKTDETTYPTypeImpl.java:137)
         at org.midwestiso.markets.markets.xml.impl.runtime.SAXMarshaller.childAsURIs(SAXMarshaller.java:419)
         at org.midwestiso.markets.markets.xml.impl.DASTLMTTypeImpl.serializeBody(DASTLMTTypeImpl.java:251)
         at org.midwestiso.markets.markets.xml.impl.DASTLMTImpl.serializeBody(DASTLMTImpl.java:50)
         at org.midwestiso.markets.markets.xml.impl.runtime.SAXMarshaller.childAsBody(SAXMarshaller.java:391)
         at org.midwestiso.markets.markets.xml.impl.runtime.MarshallerImpl.write(MarshallerImpl.java:171)
         at org.midwestiso.markets.markets.xml.impl.runtime.MarshallerImpl.marshal(MarshallerImpl.java:144)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
         at com.transalta.miso.model.factory.SettlementTypeFactory.retrieveSettlements(SettlementTypeFactory.java:254)
         at com.transalta.miso.model.system.WebScrapeHandler.execute(WebScrapeHandler.java:146)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    JAXB does not support xs:any

  • Session bean as web service using JAXB

    Hi all,
    can anybody answer my question:
    I have created java classes from XSD files using JDeveloper JAXB compilation. Is it possible to use these classes as parameters for webservice created as ejb3 session bean?
    I'have tried but got this error when invoked web service method:
    <env:Body>
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>Caught exception while handling request: deserialization error: java.lang.NullPointerException</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    thanks,
    Aigars

    Hi Torstein,
    <i>Seems to me that the problem is related to the msg sent to AE:
    "HTTP response contains status code 401 with the description Unauthorized XML tag Envelope missing in SOAP message header (SAP XI Extension)"
    </i>
    According to you, the problem occurs within the SOAP envelope. Does your incoming SOAP message looks like the one below here?
    If that's not the case, then make sure your SOAP/Web Service client is sending a valid SOAP envelope/request (like the sample below) to XI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Inbound Message -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
    <SOAP:Header/>
    <SOAP:Body>
    <ns1:WebServiceRequest xmlns:ns1='http://company.com/xi/webservice/myws' SOAP:actor='http://schemas.xmlsoap.org/soap/encoding/' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
    <Customer xsi:type='xsd:string'>000025</Customer>
    <CompanyCode xsi:type='xsd:string'>BE01</CompanyCode>
    <KeyDate xsi:type='xsd:string'>20050310</KeyDate>
    <Selection>
    <OpenItems xsi:type='xsd:string'>X</OpenItems>
    <ClearItems xsi:type='xsd:string'></ClearItems>
    <GLItems xsi:type='xsd:string'></GLItems>
    <Dunning>
    <From xsi:type='xsd:string'>A</From>
    <To xsi:type='xsd:string'>Z</To>
    </Dunning>
    </Selection>
    </ns1:WebServiceRequest>
    </SOAP:Body>
    </SOAP:Envelope>
    Cheers,
    R.

  • JAXB 2.0 with JXDM gives error.  Use @XmlType.name and @XmlType.namespace

    Hi,
    I am getting the below error for JXDM when using. It was mentioned in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302524 that it is fixed. Still getting this error.
    a) Appreciate if anyone can tell how to use the bug fix b20 that is mentioned in the above? I downloaded the latest jaxb 2.0 from this site and also from the jaxb RI(Reference Implementation and tried both).
    b) Is there any workaround to get through this?
    Will appreciate if any one can give advise on this.
    ************** Here is the error message ******************
    There was this problem creating a context com.sun.xml.bind.v2.runtime.IllegalAnn
    otationsException: 1 counts of IllegalAnnotationExceptions
    Two classes have the same XML type name "usStateCodeType". Use @XmlType.name and
    @XmlType.namespace to assign different names to them.
    this problem is related to the following location:
    at gov.ojp.it.jxdm.usps_states._1.USStateCodeType
    at protected gov.ojp.it.jxdm.usps_states._1.USStateCodeType gov.
    ojp.it.jxdm._3_0_2.proxy.usps_states._1.USStateCodeType.value
    at gov.ojp.it.jxdm._3_0_2.proxy.usps_states._1.USStateCodeType
    at protected gov.ojp.it.jxdm._3_0_2.proxy.usps_states._1.USState
    CodeType generated.CjsAddressType.locationStateCodeUSPostalService
    at generated.CjsAddressType
    at protected java.util.List generated.CjsPersonType.personAddres
    s
    at generated.CjsPersonType
    at protected generated.CjsPersonType generated.CjsSuspectType.su
    spectPerson
    at generated.CjsSuspectType
    at protected generated.CjsSuspectType generated.CjsReportType.su
    spect
    at generated.CjsReportType
    at public generated.CjsReportType generated.ObjectFactory.create
    CjsReportType()
    at generated.ObjectFactory
    this problem is related to the following location:
    at gov.ojp.it.jxdm.fips_5_2._1.USStateCodeType
    at protected gov.ojp.it.jxdm.fips_5_2._1.USStateCodeType gov.ojp
    .it.jxdm._3_0_2.proxy.fips_5_2._1.USStateCodeType.value
    at gov.ojp.it.jxdm._3_0_2.proxy.fips_5_2._1.USStateCodeType
    at protected java.util.List gov.ojp.it.jxdm._3_0.AddressType.loc
    ationStateCodeFips52Alpha
    at gov.ojp.it.jxdm._3_0.AddressType
    at protected java.util.List gov.ojp.it.jxdm._3_0.LocationType.lo
    cationAddress
    at gov.ojp.it.jxdm._3_0.LocationType
    at protected java.util.List gov.ojp.it.jxdm._3_0.OrganizationTyp
    e.organizationLocation
    at gov.ojp.it.jxdm._3_0.OrganizationType
    at protected java.util.List gov.ojp.it.jxdm._3_0.BookingType.boo
    kingAgency
    at gov.ojp.it.jxdm._3_0.BookingType
    at generated.CjsBookingType
    at public generated.CjsBookingType generated.ObjectFactory.creat
    eCjsBookingType()
    at generated.ObjectFactory
    Check this out
    Exception in thread "main" java.lang.NullPointerException
    at bpd.MakeNewItem.marshallItem(MakeNewItem.java:119)
    at bpd.MakeNewItem.persistItem(MakeNewItem.java:112)
    at bpd.MakeNewItem.<init>(MakeNewItem.java:31)
    at bpd.MakeNewItem.main(MakeNewItem.java:137)
    ********************End of error message ******************
    Thanks
    Sat
    Message was edited by:
    sat_p

    In Help > About > Properties:
    sqldeveloper.oci.available = true

  • JAXB binding for Boolean

    Hi,
    I'm using xml and JMS to query a remote system.
    One of the values in the remote system that I am interested in is a boolean value. I do not know this field is defaulted in the remote system so I want to use a Boolean object to represent it. I.e I want it to be null is no value is available in the remote system.
    Could any of you give me a quick run down on how to go abount doing this or point me to a tutorial.
    Is there another way of doing what I am trying to do?
    Appreciate any help.
    Cheers,
    Nim

    Hi James,
    Yup, I'm trying to process the xml returned by the remote system.
    The Boolean is an element and not an attribute:
    The schema i am using is shown below:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="accounts" type="AccountsType"/>
    <xsd:complexType name="AccountsType">
    <xsd:sequence>
    <xsd:element name="account" type="Account" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Account">
    <xsd:sequence>
    <xsd:element name="accountId" type="xsd:string"/>
    <xsd:element name="customerId" type="xsd:string"/>
    <xsd:element name="totalAmountOwing" type="xsd:decimal"/>
    <xsd:element name="amountOwing" type="xsd:decimal"/>
    <xsd:element name="totalArrears" type="xsd:decimal"/>
    <xsd:element name="paymentExtensionCount" type="xsd:integer"/>
    <xsd:element name="paymentHistoryIndicator" type="xsd:string"/>
    <xsd:element name="payDate" type="xsd:date"/>
    <xsd:element name="directDebitSchedule" type="xsd:boolean"/>
    <xsd:element name="easyPaySchedule" type="xsd:boolean"/>
    <xsd:element name="billIssueDate" type="xsd:date"/>
    <xsd:element name="arrearsDebtAge" type="xsd:integer"/>
    <xsd:element name="sourceSystemId" type="xsd:string"/>
    <xsd:element name="readFrequency" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    I have access to change the schema. I tried making the boolean an attribute as shown below:
    <xsd:element name="easyPaySchedule">
    <xsd:complexType>
    <xsd:sequence/>
    <xsd:attribute name="value" type="xs:boolean"/>
    </xsd:complexType>
    </xsd:element>
    but I could not see the isSetMethod in the jaxb account implementation file.
    I changed it back and added minOccurs="0":
    <xsd:element name="easyPaySchedule" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
    and started seeing the isSetMethod in the jaxb account implementation class but not the generated account interface.
    Next, I used the xjb file below:
    <jxb:bindings version="1.0"
    xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <jxb:bindings schemaLocation="accounts.xsd" node="/xsd:schema">
    <jxb:bindings node="//xsd:complexType[@name='Account']">
    <jxb:bindings node=".//xsd:element[@name='easyPaySchedule']">
    <jxb:property generateIsSetMethod="true"/>
    </jxb:bindings>
    </jxb:bindings> <!-- node="//xsd:complexType[@name='Account'] -->
    </jxb:bindings> <!-- schemaLocation="accounts.xsd" node="/xsd:schema" -->
    </jxb:bindings>
    and I started seeing the isSet methods in the generated Account interface.
    I thought I was in the clear but when I try and run it with the xml below:
    <account>
    <accountId>11111111111</accountId>
    <customerId>2222222</customerId>
    <totalAmountOwing>123</totalAmountOwing>
    <amountOwing>12</amountOwing>
    <totalArrears>0</totalArrears>
    <paymentExtensionCount>1</paymentExtensionCount>
    <paymentHistoryIndicator>110111001111</paymentHistoryIndicator>
    <payDate>2004-10-08+10:00</payDate>
    <directDebitSchedule>false</directDebitSchedule>
    <easyPaySchedule></easyPaySchedule> <<<<<<------ blank instead of false/true
    <billIssueDate>2003-10-08+10:00</billIssueDate>
    <arrearsDebtAge>0</arrearsDebtAge>
    <sourceSystemId>cise</sourceSystemId>
    <readFrequency>Q</readFrequency>
    </account>
    I start to get the following exception:
    javax.xml.bind.UnmarshalException: Unexpected text ""
    - with linked exception:
    [java.lang.NullPointerException]
    Any ideas as to whats going on?
    Cheers,
    Nim

Maybe you are looking for

  • How to read data from PDF and HTML  file

    I have got solution to read text form .txt file but did'nt get code for PDF and HTML. I dont want to convert PDF to txt. Please help me ...

  • Apple TV (newest gen) 110V vs. 220V

    Hi I am from Europe but currently in the US on vacation. I was wondering if the Apple TV would work in Europe without any change because we have the 220 V and not the 110 V as here. Any comments are very appreciated ;-)

  • Runtime error in SWPR

    Status of the background task is ready. We already corrected the background step so we tried to use SWIA to restart workitem. But accidentally, we placed the main instance number. Now the status of the workflow is error (in swi2_freq). We tried to us

  • Can I use a CDMA chip on a GSM iPhone

    While I live in Mexico I use a United States phone. I had an iPhone 5s with Verizon, as you know it's CDMA. My phone broke and it's cheaper to just buy a brand new one than to try to fix it. I am wondering if I buy an unlocked GSM iPhone 6 will I be

  • Since QT 7.1.0 upgrade iDVD & iMovie not rendering audio

    Can I get my old QT 7.0 back? Since I upgraded to QuickTime 7.1 & 7.1.2, It has taken a full week to produce a 45min. video using iMovie and iDVD This is the first time I've used the new iLife to create a movie or DVD. Usually I use Final Cut Pro to