3 Replies Latest reply on Jul 15, 2013 11:10 AM by tdanner

    Errors compiling sample java program

    avongenesis

      Hi, I'm having trouble compiling the sample java program. Below is the error I'm getting. Any ideas on how to get past this issue?

       

      Jul 09, 2013 5:34:19 PM org.apache.axis.utils.JavaUtils isAttachmentSupported

      WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.

      AxisFault

      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client

      faultSubcode:

      faultString: Invoke failed, check fault information.

      faultActor:

      faultNode:

      faultDetail:

          {http://schemas.solarwinds.com/2007/08/informationservice}InformationServiceFaultContract:<Message>Object reference not set to an instance of an object.</Message>

       

      Invoke failed, check fault information.

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at java.lang.Class.newInstance0(Unknown Source)

          at java.lang.Class.newInstance(Unknown Source)

          at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)

          at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)

          at com.solarwinds.schemas._2007._08.informationservice.InformationServiceFaultContract.getDeserializer(InformationServiceFaultContract.java:115)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

          at java.lang.reflect.Method.invoke(Unknown Source)

          at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)

          at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)

          at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)

          at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)

          at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)

          at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)

          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)

          at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)

          at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

          at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

          at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

          at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

          at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)

          at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

          at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

          at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

          at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

          at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

          at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

          at org.apache.axis.client.Call.invoke(Call.java:2767)

          at org.apache.axis.client.Call.invoke(Call.java:2443)

          at org.apache.axis.client.Call.invoke(Call.java:2366)

          at org.apache.axis.client.Call.invoke(Call.java:1812)

          at org.tempuri.BasicHttpBinding_InformationServiceStub.invoke(BasicHttpBinding_InformationServiceStub.java:496)

          at SwisClient.acknowledgeAlert(SwisClient.java:127)

          at SwisClient.main(SwisClient.java:40)

      Object reference not set to an instance of an object.