lkishalmi opened a new pull request, #4943:
URL: https://github.com/apache/netbeans/pull/4943

   Playing with Ernies composite build in #4865 I've encountered  the following 
exception
   
   ```
   java.lang.ClassCastException: class 
org.netbeans.modules.gradle.NbGradleProjectImpl cannot be cast to class 
org.openide.loaders.DataObject (org.netbeans.modules.gradle.NbGradleProjectImpl 
is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader 
@512bad4a; org.openide.loaders.DataObject is in unnamed module of loader 
org.netbeans.StandardModule$OneModuleClassLoader @657680c2)
        at 
org.netbeans.modules.editor.hints.HintsControllerImpl.setErrors(HintsControllerImpl.java:68)
        at 
org.netbeans.spi.editor.hints.HintsController$1.run(HintsController.java:59)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   ```
   It seems some other NetBeans parts expecting a `DataObject` in a Document 
`Document.StreamDescriptionProperty` as Stream descriptor. I used that property 
ages ago probably seen that on some other editor. This PR just change the 
property name used for the code completion provider.
   
   It seems if this exception does not happen, then the registration of the 
JDPA listener would g through, fixing #4865 entirely.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to