Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question on message

During compilation we see this message a lot but can not see where it comes from. Any suggestions ?
java.lang.NullPointerException
at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.BreakpointMediator.deleteObsolteCefBreakpoints(BreakpointMediator.java:973)
at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.BreakpointMediator.deleteObsoleteBreakpoints(BreakpointMediator.java:1010)
at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.hooks.BreakPointMediatorHelperHookImpl.cleanupBreakpoints(BreakPointMediatorHelperHookImpl.java:37)
at oracle.adfdtinternal.model.ide.listeners.BindingContainerNodeListener$1.run(BindingContainerNodeListener.java:44)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Comments

Timo Hahn

User, tell us your exact jdev version, please!
How do you compile?
What kind of application do you compile?
Which idk do you use?

Timo

rgouw

@timo-hahn1 @richardvanmaaren

We see the same errors during compilation.
JDev 12.2.1.4.0 - Build JDEVADF_PT.12.2.1.4.0_GENERIC_190911.2248.S

We compile with ojdeploy in a batch file:
ojdeploy -buildfile build.xml > build.log 2> build.err

Snippet of the build.xml

<?xml version="1.0" encoding="US-ASCII" ?>
<ojdeploy-build>
 <defaults>
   <parameter name="clean"/>
 </defaults>
 <deploy command="deployToArchive">
   <parameter name="workspace" value="app1/app1.jws"/>
   <parameter name="project" value="App1Model"/>
   <parameter name="profile" value="adflibApp1Model"/>
 </deploy>
</ojdeploy-build>
Console output:
Jul 27, 2023 3:52:15 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Jul 27, 2023 3:52:39 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: Resource META-INF/adf-config.xml not found on the classpath.
Jul 27, 2023 3:52:39 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: A default implementation of ADFConfig is being created for application. This can lead to unexpected results in some cases. Please add a basic META-INF/adf-config.xml to your classpath to avoid functional errors.
c:\git\Common\CommonViewController\src\nl\common\view\bean\CollectionBean.java
Warning(420,34): getValue() in oracle.jbo.ViewCriteriaItem has been deprecated
c:\git\Common\CommonViewController\src\nl\common\view\bean\BaseAutosuggestBean.java
Warning(187,61): toStringFormat() in oracle.jbo.Key has been deprecated
Warning(312,31): Key(java.lang.String) in oracle.jbo.Key has been deprecated
java.lang.NullPointerException
    at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.BreakpointMediator.deleteObsolteCefBreakpoints(BreakpointMediator.java:973)
    at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.BreakpointMediator.deleteObsoleteBreakpoints(BreakpointMediator.java:1010)
    at oracle.adfdtinternal.model.ide.xmled.editors.common.debugger.hooks.BreakPointMediatorHelperHookImpl.cleanupBreakpoints(BreakPointMediatorHelperHookImpl.java:37)
    at oracle.adfdtinternal.model.ide.listeners.BindingContainerNodeListener$1.run(BindingContainerNodeListener.java:44)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
(error repeated 184 times)
  Master_MasterViewController_webapp:MasterViewController.jpr
Jul 27, 2023 3:53:37 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Manifest-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
 file:/c:/git/Tester/TesterViewController/TesterViewController.jpr
Tester_TesterViewController_webapp:TesterViewController.jpr

It seems like an arbitrary error, during cleanup / deletion of breakpoints, but I'm quite sure we don't have 184 breakpoints in the application.

Kind regards,

Rob

Timo Hahn

@rob-de-gouw2 please don't hijack another thread for your question.

The error you get is different from the one of the op.

Timo

dvohra21

Is a CausedBy message included? Seems like a debugger is getting a null.

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 14 2023
Added on Nov 1 2022
4 comments
528 views