Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2592

Netbeans11 complies simple program but errors on RUN

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.0
    • None
    • cnd - Execution
    • None
    • windows 7, 64 bit.

    Description

      Program works well in NB9.   Using JDK1.8  Problem not related to importing Ptolemy packages (can comment those out and still get the same error). Have not yet stepped up to modules, but shouldn;'t need to with JDK1.8.

       

      Bug detected by NB11: 

       

      java.lang.NullPointerException
       at org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeByJavaSource(ActionProviderSupport.java:915)
       at org.netbeans.modules.java.api.common.project.ActionProviderSupport.invokeTarget(ActionProviderSupport.java:207)
       at org.netbeans.modules.java.api.common.project.JavaActionProvider$ScriptAction.invoke(JavaActionProvider.java:465)
       at org.netbeans.modules.java.api.common.project.JavaActionProvider.lambda$invokeAction$1(JavaActionProvider.java:895)
       at java.util.Optional.ifPresent(Optional.java:159)
       at org.netbeans.modules.java.api.common.project.JavaActionProvider.invokeAction(JavaActionProvider.java:888)
       at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:225)
       at org.netbeans.modules.java.j2seproject.J2SEActionProvider.lambda$invokeAction$0(J2SEActionProvider.java:292)
       at org.netbeans.modules.java.j2seproject.J2SEActionProvider.invokeAction(J2SEActionProvider.java:337)
       at org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262)
       at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:162)
       at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
       at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:60)
       at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
       at org.openide.util.Mutex.writeAccess(Mutex.java:285)
       at org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:159)
       at org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:115)
       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 org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      [catch] 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)

      Attachments

        1. Data.txt
          342 kB
          Don Pearson
        2. Exception.txt
          3 kB
          Don Pearson
        3. source.txt
          3 kB
          Don Pearson

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            DynamicDon Don Pearson

            Dates

              Created:
              Updated:

              Slack

                Issue deployment