Nullpointerexception when running testsuite via Ant task

I get a NullPointerException when trying to execute a testsuite via a commandline Ant task.
The Nullpointerexception is occuring at the line:
oracle.v2.parser.DOMLocator.getSystemId()
Here the full trace of the execution (debug)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
M:\>c:
C:\>cd \projects\aorta_bpel\src\MWPEmailDispatcher
C:\projects\aorta_bpel\src\MWPEmailDispatcher>ant deployProcess test -verbose
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_08\jre
Detected OS: Windows XP
parsing buildfile C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.xml with URI = file:///C:/proj
ects/aorta_bpel/src/MWPEmailDispatcher/build.xml
Project base dir set to: C:\projects\aorta_bpel\src\MWPEmailDispatcher
[xmlproperty] Loading C:\projects\aorta_bpel\src\MWPEmailDispatcher\bpel\bpel.xml
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.partnerLinkBindings.partnerLinkB
inding.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(name)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property(encryption)
Overriding previous definition of property BPELSuitcase.BPELProcess.preferences.property
[property] Loading Environment env.
Property ${env.BPEL_HOME} has not been set
Property ${env.BPEL_HOME} has not been set
[available] Unable to find ${env.BPEL_HOME}\utilities\ant-orabpel.xml
[property] Loading C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.properties
Importing file C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-orabpel.xml from C:\projects
\aorta_bpel\src\MWPEmailDispatcher\build.xml
parsing buildfile C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.xml with URI = fi
le:///C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-orabpel.xml
Importing file ant-deployapps.xml from C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orab
pel.xml
parsing buildfile C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-deployapps.xml with URI =
file:///C:/oracle/product/10.1.3.1/OracleAS_1/bpel/utilities/ant-deployapps.xml
[property] Loading C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.properties
Override ignored for property bpel.home
Override ignored for property oracle.home
Override ignored for property admin.password
Override ignored for property http.port
dropping C:\oracle\product\10.1.3.1\OracleAS_1\bpel\system\appserver\oc4j\j2ee\home\lib\oc4j-interna
l.jar from path as it doesn't exist
parsing buildfile jar:file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-ant.jar!/com/coll
axa/cube/ant/orabpel-antlib.xml with URI = jar:file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/lib/
orabpel-ant.jar!/com/collaxa/cube/ant/orabpel-antlib.xml
[property] Loading C:\oracle\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.properties
Override ignored for property platform
Override ignored for property verbose
Override ignored for property j2ee.home
Override ignored for property apps
Override ignored for property orabpel.db.user
Override ignored for property bpel.home
Override ignored for property opmn.requestport
Override ignored for property bpeltest.numWorkers
Override ignored for property jndi.user
Override ignored for property bpel.version
Override ignored for property http.hostname
Override ignored for property j2ee.hostname
Override ignored for property oracle.home
Override ignored for property jndi.password
Override ignored for property bpeltest.minCoverage
Override ignored for property admin.user
Override ignored for property hostname
Override ignored for property domain
Override ignored for property orabpel.db.connect_string
Override ignored for property bpeltest.timeout
Override ignored for property jndi.url
Override ignored for property soapServerUrl
Override ignored for property rmi.port
Override ignored for property admin.password
Override ignored for property orabpel.db.password
Override ignored for property cluster
Override ignored for property rev
Override ignored for property client.classpath
Override ignored for property http.port
Override ignored for property jndi.InitialContextFactory
Override ignored for property bpeltest.results.dir
Override ignored for property bpel.build
Override ignored for property bpeltest.package
Override ignored for property asinstancename
Override ignored for property default-web-app.dir
Override ignored for property oc4jinstancename
[available] Unable to find pre-build.xml
[available] Unable to find post-build.xml
Build sequence for target(s) `deployProcess' is [deployProcess]
Complete build sequence is [deployProcess, deployOc4j, deployBindWebAppOc4j, deployIas_10gR3, deploy
BindWebAppIas_10gR3, deployIas_10gR2, deployBindWebAppIas_10gR2, prepareTests, pre-build, validateTa
sk, compile, deployTaskForm, deployDecisionServices, process-deploy, post-build, deploy, deployNonOr
aclej2ee, setJndiUrlOrclej2ee, deployIas, setJndiUrlIas, deployBindWebAppIas, deployTestSuites, bpel
Test, report, test, deploy_test, schemac, setJndiUrlOc4j, build_ear, deployOraclej2ee, ]
deployProcess:
[echo]
[echo] --------------------------------------------------------------
[echo] | Deploying bpel process MWPEmailDispatcher on localhost, port 7777
[echo] --------------------------------------------------------------
[echo]
[deployProcess] Deploying process C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpel_MWPEmail
Dispatcher_1.0.jar
[deployProcess] Successfully deployed the process "MWPEmailDispatcher" on server "localhost" and por
t "7777"
Build sequence for target(s) `test' is [prepareTests, deployTestSuites, bpelTest, report, test]
Complete build sequence is [prepareTests, deployTestSuites, bpelTest, report, test, deployOc4j, depl
oyBindWebAppOc4j, deployIas_10gR3, deployBindWebAppIas_10gR3, deployIas_10gR2, deployBindWebAppIas_1
0gR2, pre-build, validateTask, compile, deployProcess, deployTaskForm, deployDecisionServices, proce
ss-deploy, post-build, deploy, deployNonOraclej2ee, setJndiUrlOrclej2ee, deployIas, setJndiUrlIas, d
eployBindWebAppIas, deploy_test, schemac, setJndiUrlOc4j, build_ear, deployOraclej2ee, ]
prepareTests:
[echo]
[echo] --------------------------------------------------------------
[echo] | Preparing BPEL tests for deployment
[echo] --------------------------------------------------------------
[echo]
[delete] Deleting: C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpeltest.zip
[zip] Building zip: C:\projects\aorta_bpel\src\MWPEmailDispatcher\output\bpeltest.zip
[zip] adding entry regression_tests/testContainsSubjectP1WithAttachm.xml
[zip] adding entry regression_tests/testEmptySubject.xml
[zip] adding entry regression_tests/testEmptySubjectNoBodyPart.xml
[zip] adding entry regression_tests/testEmptySubjectWithAttachm.xml
[zip] adding entry regression_tests/testNominalP1214Meetdatavalide.xml
[zip] adding entry regression_tests/testNominalP1214MeetdatavalideWithAttachm.xml
[zip] adding entry regression_tests/testNominalP1217aMeetdatavalide.xml
[zip] adding entry regression_tests/testNominalP1217aMeetdatavalideWithAttachm.xml
[zip] adding entry regression_tests/testNominalP1WithAttachm.xml
[zip] adding entry regression_tests/testP1WithBody.xml
[zip] adding entry regression_tests/testRTFP1214Meetdatavalide.xml
[zip] adding entry regression_tests/testRTFP1217Meetdatavalide.xml
deployTestSuites:
[echo]
[echo] --------------------------------------------------------------
[echo] | Deploying bpel tests MWPEmailDispatcher on localhost, port 7777
[echo] --------------------------------------------------------------
[echo]
[deployTestSuites] bpeltest.zip deployed successfully.
bpelTest:
[echo]
[echo] --------------------------------------------------------------
[echo] | Executing process MWPEmailDispatcher(v.1.0): minCoverage=100%, timeout=90 sec, numWork
ers=1
[echo] --------------------------------------------------------------
[echo]
[delete] Deleting directory C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\default-web-app\resul
ts\xml\MWPEmailDispatcher
[delete] Deleting directory C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\default-web-app\resul
ts\xml\MWPEmailDispatcher
[bpeltest] XML-22000: (Fatal Error) Error while parsing XSL file ({0}).
BUILD FAILED
C:\projects\aorta_bpel\src\MWPEmailDispatcher\build.xml:181: java.lang.NullPointerException
at org.apache.tools.ant.Task.perform(Task.java:373)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
at oracle.xml.parser.v2.DOMLocator.getSystemId(DOMLocator.java:115)
at javax.xml.transform.TransformerException.getMessageAndLocation(TransformerException.java:
210)
at com.collaxa.cube.ant.taskdefs.BpelTest.createJUnitReport(BpelTest.java:741)
at com.collaxa.cube.ant.taskdefs.BpelTest.createReport(BpelTest.java:877)
at com.collaxa.cube.ant.taskdefs.BpelTest.execute(BpelTest.java:1033)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
... 10 more
--- Nested Exception ---
java.lang.NullPointerException
at oracle.xml.parser.v2.DOMLocator.getSystemId(DOMLocator.java:115)
at javax.xml.transform.TransformerException.getMessageAndLocation(TransformerException.java:
210)
at com.collaxa.cube.ant.taskdefs.BpelTest.createJUnitReport(BpelTest.java:741)
at com.collaxa.cube.ant.taskdefs.BpelTest.createReport(BpelTest.java:877)
at com.collaxa.cube.ant.taskdefs.BpelTest.execute(BpelTest.java:1033)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Total time: 1 minute 39 seconds
C:\projects\aorta_bpel\src\MWPEmailDispatcher>

I had this same issue, and after almost a month, finally found the solution...
The <bpletest> task needs reference to an xls like:
<!-- xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl" was missing from <bpeltest> declaration -->
<!-- "bpeltest" target runs deployed testsuites of a BPEL process -->
<target name="bpelTest">
<echo>
| Executing BPEL Tests Process ${process.name} on:
|
| * user="${admin.user}" password="${admin.password}"
| * hostname="${http.hostname}" httpport="${http.port}"
| * domain="${domain}" process="${process.name}"
| * rev="${rev}" name="${process.name}Tests"
| * timeout="${bpeltest.timeout}"
| * numWorkers="${bpeltest.numWorkers}"
| * minCoverage="${bpeltest.minCoverage}"
| * callHandler="${bpeltest.callHandler}"
| * context="${bpel.context.properties}"
| * resultsDir="${bpeltest.results.dir}/xml/${process.name}"
| * resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
| * verbose="${verbose}"
| * xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl"
|
</echo>
<delete dir="${bpeltest.results.dir}/xml/${process.name}" quiet="true"/>
<bpeltest
user="${admin.user}" password="${admin.password}"
hostname="${http.hostname}" httpport="${http.port}"
domain="${domain}" process="${process.name}"
rev="${rev}" name="${process.name}Tests"
timeout="${bpeltest.timeout}"
numWorkers="${bpeltest.numWorkers}"
minCoverage="${bpeltest.minCoverage}"
callHandler="${bpeltest.callHandler}"
context="${bpel.context.properties}"
resultsDir="${bpeltest.results.dir}/xml/${process.name}"
resultsPropertyFile="${bpeltest.results.dir}/${process.name}.properties"
verbose="${verbose}"
xsl="${bpel.home}/system/console/xslt/bpeltest-junit.xsl"
/>
               <!--<classpath>
                    <pathelement path="${bpeltest.results.dir}/xsl/bpeltest-junit.xsl" />
                    <pathelement path="${project.root}/tools/build-tools/src/main/resources/bpel" />
                    <pathelement path="C:/viewstore/esp_lynx_dap/esp/dap/tools/build-tools/src/main/resources/bpel/bpeltest-junit.xsl" />
                    <pathelement path="C:/viewstore/esp_lynx_dap/esp/dap/tools/build-tools/src/main/resources/bpel/com/collaxa/cube/ant" />
               </classpath>
          </bpeltest>-->
<property file="${bpeltest.results.dir}/${process.name}.properties"/>
<echo>
Executed ${test.total.count} test(s) for ${process.name} (v.${rev}) with
${test.failure.count} failure(s)
</echo>
</target>

Similar Messages

  • LDAP Broken Pipe exception when deploying processes via ant task

    Hi,
    Has anyone experienced this and can offer a fix? We are publishing/deploying our processes using the fuego:publish task in Fuego 5.7 (we are migrating our system from 5.1) and one of the publish tasks for a large project always fails with the following exception:
    Caused by: fuego.directory.CommunicationException: Cannot connect to the Directory Service at: [iplanet://zion:28899/o=nexagent.com].
    Detail:The Directory Service could not be reached. Either the Directory Service is down, the host where it resides is unavailable, a network problem exists, or there is no Directory Service at the specified location.
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:465)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:489)
    at fuego.directory.provider.ldap.LDAPProjectAccessor.createCatalogJar(LDAPProjectAccessor.java:160)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:257)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:46)
    at fuego.mami.CatalogPublisher.store(CatalogPublisher.java:369)
    at fuego.mami.ProjectPublisher.storeCatalog(ProjectPublisher.java:1631)
    at fuego.mami.ProjectPublisher.storeProject(ProjectPublisher.java:1653)
    at fuego.mami.ProjectPublisher.publish(ProjectPublisher.java:854)
    at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(PublishProjectTaskImpl.java:377)
    ... 23 more
    Caused by: javax.naming.CommunicationException: Broken pipe [Root exception is java.net.SocketException: Broken pipe]; remaining name 'cn=catalogJar-3,cn=fuego-dirCatalogJars,cn=fuego-directoryRoot'
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:803)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
    at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
    at fuego.jndi.FaultTolerantDirContext.createSubcontext(FaultTolerantDirContext.java:413)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createNestedEntry(LDAPPersistenceManager.java:1744)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:455)
    ... 32 more
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:389)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:364)
    at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1007)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:766)
    ... 39 more
    Looking at the LDAP access log the error code is B1 which means that the client closed the connection without sending an unbind request or it could also mean that the client sent a malformed request to the server. The project being deployed is quite big and fails when storing the catalog, could the size have something to do with it (this worked in v5.1) is this a bug in 5.7?
    Any help would be greatly appreciated!
    regards,
    Mike

    Hi,
    Has anyone experienced this and can offer a fix? We are publishing/deploying our processes using the fuego:publish task in Fuego 5.7 (we are migrating our system from 5.1) and one of the publish tasks for a large project always fails with the following exception:
    Caused by: fuego.directory.CommunicationException: Cannot connect to the Directory Service at: [iplanet://zion:28899/o=nexagent.com].
    Detail:The Directory Service could not be reached. Either the Directory Service is down, the host where it resides is unavailable, a network problem exists, or there is no Directory Service at the specified location.
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:465)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:489)
    at fuego.directory.provider.ldap.LDAPProjectAccessor.createCatalogJar(LDAPProjectAccessor.java:160)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:257)
    at fuego.directory.DirCatalogJar.create(DirCatalogJar.java:46)
    at fuego.mami.CatalogPublisher.store(CatalogPublisher.java:369)
    at fuego.mami.ProjectPublisher.storeCatalog(ProjectPublisher.java:1631)
    at fuego.mami.ProjectPublisher.storeProject(ProjectPublisher.java:1653)
    at fuego.mami.ProjectPublisher.publish(ProjectPublisher.java:854)
    at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(PublishProjectTaskImpl.java:377)
    ... 23 more
    Caused by: javax.naming.CommunicationException: Broken pipe [Root exception is java.net.SocketException: Broken pipe]; remaining name 'cn=catalogJar-3,cn=fuego-dirCatalogJars,cn=fuego-directoryRoot'
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:803)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
    at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
    at fuego.jndi.FaultTolerantDirContext.createSubcontext(FaultTolerantDirContext.java:413)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createNestedEntry(LDAPPersistenceManager.java:1744)
    at fuego.directory.provider.ldap.LDAPPersistenceManager.createEntry(LDAPPersistenceManager.java:455)
    ... 32 more
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:389)
    at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:364)
    at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1007)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:766)
    ... 39 more
    Looking at the LDAP access log the error code is B1 which means that the client closed the connection without sending an unbind request or it could also mean that the client sent a malformed request to the server. The project being deployed is quite big and fails when storing the catalog, could the size have something to do with it (this worked in v5.1) is this a bug in 5.7?
    Any help would be greatly appreciated!
    regards,
    Mike

  • Re: NoClassDefFoundError problem when running Junit via Ant on CI Server

    I have also noticed that every time we get the NoClassDefFoundError it was during a call to a static method of the "missing" class

    jschell wrote:
    Also as suggested if the class has initialization, in your case static (blocks or members) and the initialization fails then the class will not load. That however should show in the stack trace.As of yet, we have not seen any of the initialization steps in the stack trace, only the method and line number that calls the static method.
    Also, I'm not to familiar with the inner workings of the class loader. When you mention "+a+ classloader", are there more than just the basic one that I never explicitly interact with?
    Edited by: tankertux on Aug 5, 2008 12:41 PM

  • NullPointerException when running servicegen on a local EJB

    Is it possible to have EJB that implementa a local interface as back-end component
    for web service generated by 'servicegen'? I get NullPointerException when I run
    servicegen on EJB jar that has a local interface (extends EJBLocalObject instead
    of EJBObject). But if I change the interface to remote, it works fine.
    Is it a bug or there is any specific reason why back-end EJB component should
    be remote for a web service?
    Thanks,
    Nandu

    Nandu,
    EJB with local interface is not supported in 7.0 release. In 8.1 release,
    this should work.
    Thanks
    -Neal
    "Nandu" <[email protected]> wrote in message
    news:3eafb3f6$[email protected]..
    >
    Is it possible to have EJB that implementa a local interface as back-endcomponent
    for web service generated by 'servicegen'? I get NullPointerException whenI run
    servicegen on EJB jar that has a local interface (extends EJBLocalObjectinstead
    of EJBObject). But if I change the interface to remote, it works fine.
    Is it a bug or there is any specific reason why back-end EJB componentshould
    be remote for a web service?
    Thanks,
    Nandu

  • Getting Access is Denied when Running Script in OSD Task Sequence

    I am attempting put in a script that will move the computer account to the proper OU in AD.  I have the script but when it launches inside of the TS I get "CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed
    (Access is denied. )."
    I am using the Run Command Line, and using the "Run this step as the following account"  I have verified that the account has access to do what I need it to do in AD.  I have attached the logs as well.
    PackageID = 'WI10015A' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    BaseVar   = '', ContinueOnError='' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    SwdAction = '0001' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Getting linked token InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    failed to get the token information InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Get RunAs private desktop SMSTS-169042\SMSTSDesktop
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Run command line under a user account InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Found the location for the package _SMSTSWI10015A. The location is on \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,253)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Creating a connection to \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ with default account
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connection request for "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    No credentials available for connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A". See whether the share has already been connected.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Successfully connected to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Resolved source to '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Command line for extension .exe is "%1" %* InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Set command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Working dir '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Executing command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Create a process under given user token InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Process completed with exit code 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Microsoft (R) Windows Script Host Version 5.8
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Copyright (C) Microsoft Corporation. All rights reserved.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed (Access is denied. ).
    InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Command line returned 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Entering ReleaseSource() for \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    reference count 1 for the source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ before releasing
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Released the resolved source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Process completed with exit code 1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Failed to run the action: Move Computer to Correct OU. 
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Sending status message . . . TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Send a task execution status message SMS_TSExecution_ActionFailError
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    MP server <SCCMSERVERNAME> and port 80. SSL=false. CRL=false.
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Site code: WI1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client machine name: 1J44KQ1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client Identity: GUID:6ffb32d4-1184-4e40-a1c8-26272a707a72
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Advertisement ID: WI12029D TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Package ID: WI1001E7 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Sending StatusMessage TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Formatted header: TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>ABB94CBE-33F4-4EB9-A151-34EE3474A0F9</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-03-21T12:46:54Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4174"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    CLibSMSMessageWinHttpTransport::Send: URL: <SCCMSERVERNAME>:80  CCM_POST /ccm_system/request
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    The request has succeeded. 200 OK TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionRetCode=1
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionSucceeded=false
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Clear local default environment TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Let the parent group (Testing) decides whether to continue execution
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    The execution of the group (Testing) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Failed to run the last action: Move Computer to Correct OU. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Any suggestions would be greatly appreciated!
    "You can't fix stupid!"

    I'm having the exact same issue.  I'm using AutoIT for my script to move the computer account.  I've tried using ADO, LDAP, and LDAP/ADSystemInfo object.  They all fail with access denied.  In fact the ADO version of my script fails just
    trying to create the "ADODB.Connection" object which I know for a fact doesn't require elevation or administrator access.  However, all three versions of the script work correctly when run manually outside the TS.  They also work correctly on XP
    machines during OSD.  Only when deploying a Win7 machine do they fail during the TS.  I've tried adding the runas user to the local administrators group beforehand but no dice.  Did you have to restart the computer after doing the net localgroup
    change?  There has to be some other security config in Win7 that is set somewhere doing this.  I just can't figure out what.  I've even started looking at DCOM/COM permissions to see if something isn't right there.
    I don't see why but maybe the script needs to be run locally?  Any other ideas?

  • NullPointerException when running TopLink

    Hi. I'm working through the ADF tutorial for JDeveloper. I keep running into a NullPointerException when I try to complete the TopLink step
    java.lang.NullPointerException
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1102)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:269)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:206)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    If I click OK, the JDeveloper shows a dialog box as if it's doing some work. This just runs indefinitely and never does anything. I've tried the tutorial a couple of times with the same problem at this step. Help!! I'm getting very frustrated and don't know what's going on.

    Thanks for your reply, user640530. No, this is XP Pro. It seems to be having trouble from the Java class connecting to the db; however, the db connection by itself works fine. Not sure what to do next. Help!!

  • Load oracle jdbc driver error when run applet via the web

    Hi All,
    I have built an applet which connect to database via jdbc thin driver. It works fine when I run it through the applet viewer, but got a problem when run it through the web.
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    I am using jdev9i 9.0.4 and jdk 1.4.2. The jdbc version is 9.0.1
    I have added both the classes12.zip and ojdbc14.zip in the class path and also pack them together with my applet class. Here is the code
    public class MyApplet extends Applet
    implements Runnable
    public void start()
    if(theThread == null)
    theThread = new Thread(this);
    theThread.start();
    Retrieve R = new Retrieve();
    this.MyMap = R.retrieveDesc();
    public class Retrieve
    public Retrieve()
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn=DriverManager.getConnection("jdbc:oracle:thin:@babyruth.wvu.edu:1703:devdw", User, Password);
    conn.setAutoCommit(true);
    connectStatus = true;
    public HashMap retrieveDesc()
    return map;
    I have also built one HTML page NewApplet like this
    <HTML>
    <HEAD>
    <TITLE> My New Applet</TITLE>
    </HEAD>
    <APPLET CODE="MyApplet.class" CODEBASE="menu" ARCHIVE="MyApplet.zip" WIDTH=300 HEIGHT=485>
    <!--General Settings-->
    <param name="bgcolor" value="255,255,255">
    </HTML>
    Any advice is highly appreciated
    Mei

    Sir,
    Well you haven't "packed" them correctly. Why don't you just add the driver bits to the soucebase tag? or something like that anyway...
    Sincerely,
    Slappy

  • MMC crashes when running WSUS Post Install tasks

    After an upgrade from 2008 R2 to 2012 R2 I had issues with WSUS not running. I have removed roles for WSUS, IIS and the WID, renamed the WID directory in C;\Windows to .old, reboot and reinstall but I still have the same issue. When trying to run the post
    installation tasks it prompts for the location to store the updates but almost as soon as Run is clicked I receive an error that the microsoft Management Console has stopped working with the following details.
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: mmc.exe
      Problem Signature 02: 6.3.9600.16384
      Problem Signature 03: 5215ef8f
      Problem Signature 04: System
      Problem Signature 05: 4.0.30319.34003
      Problem Signature 06: 522ec39f
      Problem Signature 07: 3fec
      Problem Signature 08: 3b8
      Problem Signature 09: System.ComponentModel.Win32
      OS Version: 6.3.9600.2.0.0.272.7
      Locale ID: 2057
      Additional Information 1: b376
      Additional Information 2: b376ba95bedbd518328ed0407772d20c
      Additional Information 3: 2cdd
      Additional Information 4: 2cdd6573ca3a99b682060228c5ceb1c2
    At the same time two errors are logged in the Application log,
    ID1026 .NET Runtime
    Application: mmc.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ComponentModel.Win32Exception
    Stack:
       at System.Diagnostics.Process.StartWithCreateProcess(System.Diagnostics.ProcessStartInfo)
       at Microsoft.UpdateServices.UI.SnapIn.Dialogs.PostInstallDialog.RunPostInstall(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    and Event ID 1000 Application Error
    Faulting application name: mmc.exe, version: 6.3.9600.16384, time stamp: 0x5215ef8f
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.16408, time stamp: 0x523d557d
    Exception code: 0xe0434352
    Fault offset: 0x000000000000ab78
    Faulting process id: 0x196c
    Faulting application start time: 0x01d030500ca78295
    Faulting application path: C:\Windows\system32\mmc.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 4b72991e-9c43-11e4-80c4-f01fafe08a8b
    Faulting package full name: 
    Faulting package-relative application ID: 
    I've tried running the .NET verification tool on all versions of .NET and all  verify ok. I have also tried uninstalling .Net 3.5 and reinstalling. Unfortunately I can't reinstall .NET4.5 as this is the only DC and I can't have downtime to rebuild from
    scratch. Any ideas?
    Many thanks,
    Baz

    After an upgrade from 2008 R2 to 2012 R2
    You *cannot* upgrade a WSUS server from WS2008R2 to WS2012R2, so could you please clarify what you actually did do?
    Otherwise, given the error messages, I'm inclined to think you really did *Upgrade* the WS2008R2 to WS2012R2 server with the WSUS role installed, and if so, then you're basically going to have to reformat and reinstall WS2012R2 from scratch.
    This scenario is plainly documented in the
    WS2012R2/WSUS v6 documentation:
    New and changed functionality
    Warning
    Upgrade from any version of Windows Server that supports WSUS 3.2 to Windows Server® 2012 R2 requires that you first uninstall WSUS 3.2.
    In Windows Server 2012, upgrading from any version of Windows Server with WSUS 3.2 installed is blocked during the installation process if WSUS 3.2 is detected, and you are prompted to first uninstall Windows Server Update Services prior to upgrading Windows
    Server 2012.
    However, because of changes in Windows Server 2012 R2, when upgrading from any version of Windows Server and WSUS 3.2 to Windows Server 2012 R2, the installation is not blocked. Failure to uninstall WSUS 3.2 prior to performing a Windows Server 2012 R2 upgrade
    will cause the post installation tasks for WSUS in Windows Server 2012 R2 to fail. In this case, the only known corrective measure is to format the hard drive and reinstall Windows Server 2012 R2.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Strange problem when running scripts via packages

    Hi there,
    I am having problems with a really wierd issue, and I'm just wondering if anyone else is seeing the same thing.
    I have a simple script which copies some data around with the same application, and it runs perfectly when run from the script debugger. But when I try and run it from a package, no matter what path I add into the "MODIFYSCRIPT" variable, the package keeps trying to run DEFAULT logic.
    This is from my Formula log after the package has run (and failed, as I temporarily renamed DEFAULT.lgf):
    Logic File:E:\BPC\Data\WebFolders\<appset>\Adminapp\work_Force\CopyCatWORKFORCE.lgf
    (this is the correct path to my logic file)
    But then further down I get an error:
    missing file:E:\BPC\DATA\WebFolders\<appset>\AdminApp\work_Force\DEFAULT.LGX
    I'm not trying to run default logic, and this doesn't appear in my CopyCatWorkforce.lgf script as an *INCLUDE either.
    I have tried to create a brand new package file in BIDS, but for some reason it STILL looks for default even though I haven't told it to!
    Any ideas? I'm stumped on this one!
    Thanks,
    Jason

    OK, so I have just realised I didn't have the LOGICMODE=1 flag in my MODIFYSCRIPT, which I've now added!
    Solved this issue, but now created another one... closing this and will post a new question later...

  • NullPointerException when opening project properties ANT tab

    I added an Ant buildfile to my web project and now every time I open the project properties dialog to the ANT tab, I get the exception below. Also, none of the targets are listed in the ant toolbar dropdown.
    Any ideas?
    java.lang.NullPointerException
         at oracle.jdevimpl.ant.ProjectBuildfilePanel$TargetItem.equals(ProjectBuildfilePanel.java:486)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:85)
         at oracle.jdevimpl.ant.ProjectBuildfilePanel$NonNullableSortedComboBoxModel.setSelectedItem(ProjectBuildfilePanel.java:550)
         at oracle.jdevimpl.ant.ProjectBuildfilePanel.updateTargets(ProjectBuildfilePanel.java:403)
         at oracle.jdevimpl.ant.ProjectBuildfilePanel.loadFrom(ProjectBuildfilePanel.java:270)
         at oracle.jdevimpl.ant.AntPanel.loadFrom(AntPanel.java:91)
         at oracle.jdevimpl.ant.AntPanel.onProjectPanelEntry(AntPanel.java:65)
         at oracle.ide.model.panels.ProjectSettingsTraversablePanel.onEntry(ProjectSettingsTraversablePanel.java:86)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:926)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:899)
         at oracle.ide.panels.MDDPanel.access$7000971(MDDPanel.java:105)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1339)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1207)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1200)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:540)
         at java.awt.Dialog.show(Dialog.java:561)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:276)
         at oracle.ide.model.panels.ProjectPropertiesDialog.showDialog(ProjectPropertiesDialog.java:203)
         at oracle.ide.model.panels.ProjectPropertiesDialog.showDialog(ProjectPropertiesDialog.java:90)
         at oracle.ide.model.panels.ProjectPropertiesDialog.showDialog(ProjectPropertiesDialog.java:81)
         at oracle.jdeveloper.model.JProjectStructureController.handleEvent(JProjectStructureController.java:309)
         at oracle.ide.IdeAction.performAction(IdeAction.java:661)
         at oracle.ide.IdeAction$2.run(IdeAction.java:889)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Yes, I open the project properties and select the ANT node. When I do, I get a small dialog box saying:
    An error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem. It has a "Details>>" button and when you press that, you get a text area showing the stack trace that I posted earlier.
    If you then click "Ok" on that dialog, the right side of the properties window shows the follwing:
    ANT
    O Use Custom Settings
    O Use Project Settings
    Internal Error when attempting to create this panel
    |
    | The stack trace is shown again here
    |
    None of the other controls (buildfile entry area and target lists) are visible).
    If I switch to a different node, and then switch back to the ANT node, the exception message is gone and the "Project Buildfile" entry area and Browse button are visible. The buildfile I've specified is properly displayed. However, the available targets list is empty and the Default target selector is disabled.
    If I close the dialog and bring it up again, the sequence starts over again.
    Please let me know if I need to clarify any of this.
    Thanks.

  • Java.lang.NullPointerException when running weblogic on linux

    Hi,
    I installed the generic release of the Oracle WebLogic (wls1033_generic.jar) on my server (Ubuntu 64bit). When starting the application I am getting the following java exception. Is this a bug?
    <Jun 22, 2010 9:29:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
    at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
    at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
    at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
    at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
    Truncated. see log file for complete stacktrace
    >
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 22, 2010 9:29:51 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    Are you running the process as the user that installed WebLogic and have write permissions in the domain directory?
    How did you create the domain?

  • Java.lang.NullPointerException when running JHeadstart Application Generato

    When I run the Generator I get
    java.lang.NullPointerException
    In my console I get (after many DRAG OVER/DRAG EXIT messages):
    (xml.XmlBeanDefinitionReader 150 ) Loading XML bean definitions from file [D:\work\Meld\ViewController\templates\config\jag-config.xml]
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'pgItemModelHelper'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'velocityInitializer'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formGroupLayoutFactory'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formPageNameFormat'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tableGroupLayoutFactory'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tablePageNameFormat'
    java.lang.NullPointerException
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateGroupBindings(PageUIModelGenerator.java:743)
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateInternal(PageUIModelGenerator.java:390)
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generate(PageUIModelGenerator.java:249)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:332)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:361)
    at oracle.jheadstart.dt.jag.jdev.JagRunner$1.run(JagRunner.java:80)
    at java.lang.Thread.run(Thread.java:595)
    JagRunner$1[103]: Invoking garbage collector
    I am using JDeveloper 10.1.3.3.0.4157
    and JHS 10.1.3.0.97
    What could be the problem?
    Thanks in advance,
    Lebbol

    Ok, I don't understand much from your stack dump there, but the ONLY time I've ever got a NullPointerException with the JAG is when I've deleted my bc4j.xcfg files from my ADF BC project in my application. I've fixed this by regenerating these files; which seems to occur when I open up my Application Module and then close it.
    It's worth a shot I guess.

  • Error when running jaxb-example-ant-script on sun one ide

    I get following error message when i run the ant-compile target for
    jwsdp-1.1\jaxb-1.0\examples\users-guide\SampleApp1 on the SUN ONE ide,
    when I run the same script directly in a console it is working:
    javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl not found
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:99)
         at com.sun.tools.xjc.Driver.buildXMLSchemaDOMForest(Driver.java:583)

    Hello.
    It is a classpath problem. Add the crimson.jar to the project classpath.

  • Stored procedure fails when run from SSIS DataFlow task

    I'hv a stored procedure (with dynamis SQL), taking colums names as parameters to run and returns dynamic columns in output. E.g. if I pass @ipselect = '*' it will returns all columns in output, when I pass @ipselect =  'column1, column2, column3'  
    ,it will returns 3 columns in output.
    Now I have SSIS package. I've Data Flow task in foreach loop container and it is taking parameter from client table. e.g
    clientid       column name
    1                        *
    2                columns1,columns2,column3
    3               columns1,columns2,column3,columns4,columns5,column6
    4                       *
    Foreach container loop through each client id and set ipselect parameter with
    column name  and that value is being passed to @ipselect stored procedure in Dataflow task. When there is @ipselect = '*' it runs fine ,returns all columns and write to destination. But when there is ipselect = 'columns1,columns2,column3',
    it fails with below error:
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E55.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E55  Description: "Column does not exist.".
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "OLE DB Source" (1) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Any suggestion or solution would be really helpful.
    Thanks!!

    Hi Kevin,
    Just an addition. To create SSIS package programmatically, please refer to the document:
    http://msdn.microsoft.com/en-us/library/ms345167.aspx 
    To implement dynamic column mapping through SSIS Script Component, please refer to:
    http://wikiprogrammer.wordpress.com/2011/04/08/dynamic-column-mapping-in-ssis-part-1/ 
    http://blog.quasarinc.com/ssis/best-solution-to-load-dynamically-change-csv-file-in-ssis-etl-package/ 
    Regards,
    Mike Yin
    TechNet Community Support

  • Different thread/memory limits when running Java via Windows Service?

    My company is developing a Java application that employs a "black-box" interface, which generates several memory-intensive threads. When we run the application via a batch file, the threads seem to run in parallel on a quad-core server. However, when we install the application as a Windows Service on the same server, it appears that we hit a hard limit of 35 threads, and the process pegs out one of the server's CPU's at 100%. Does anyone know why we don't see the parallelism when we run it as a Windows Service? Does anyone know if Windows imposes different memory or thread restrictions on services, as opposed to normal desktop applications?

    My company is developing a Java application that employs a "black-box" interface, which generates several memory-intensive threads. When we run the application via a batch file, the threads seem to run in parallel on a quad-core server. However, when we install the application as a Windows Service on the same server, it appears that we hit a hard limit of 35 threads, and the process pegs out one of the server's CPU's at 100%. Does anyone know why we don't see the parallelism when we run it as a Windows Service? Does anyone know if Windows imposes different memory or thread restrictions on services, as opposed to normal desktop applications?

Maybe you are looking for

  • Is there an easy way to make JSpinner wrap around at max/min values?

    I have several pages with a couple dozen JSpinners to set various values - mostly numeric, but some are not. I would like to make them wrap around when either the max or min values are reached. Is there an easy way to do this? I was hoping for someth

  • Integrating tomcat 5.0.28 with apache web server 2.2

    hi all i tried a lot on net but could not get the steps for connctivity between tomcat 5.0.28 with apache web server 2.2. any one pzl do help me in finding the solution pzl do tel me the step by step process for this connectivity sus

  • 27" thunderbolt monitor is not powering back on with Laptop

    Since updating to the new version of Yosemite my 27" thunderbolt monitor is not powering back on when plugged into my laptop via the thunderbolt port. Suggestions on how to get it back up?

  • Problem with E52

    Hi.. I have this problem on my E52. Whenever i try to play music on it after sometime it stops and gives me a error message "General: System error"  I did the reinstallation of the software using the Ovi Suite but in vain. 

  • Access embedded reader with javascript

    For a project I'm looking for a way to display pdf files within a webbrowser. I have IE8+ with acrobat reader available to me, so i can display any given pdf. But i would like to be able to change pages, jump to bookmarks with javascript functions in