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

java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Component/s: editor - Other
    • Labels:
      None
    • Environment:

      Description

      This error keeps popping up making almost working with the IDE impossible.

      SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult$1
      java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0
      	at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
      	at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714)
      	at java.base/java.time.LocalDate.of(LocalDate.java:269)
      	at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336)
      	at java.base/java.util.zip.ZipUtils.dosToJavaTime(ZipUtils.java:82)
      	at java.base/java.util.zip.ZipUtils.extendedDosToJavaTime(ZipUtils.java:101)
      	at java.base/java.util.zip.ZipEntry.getTime(ZipEntry.java:198)
      	at org.openide.filesystems.JarFileSystem.lastModified(JarFileSystem.java:433)
      	at org.openide.filesystems.JarFileSystem$Impl.lastModified(JarFileSystem.java:1056)
      	at org.openide.filesystems.AbstractFileObject.initLastModified(AbstractFileObject.java:73)
      	at org.openide.filesystems.AbstractFileObject.lastModified(AbstractFileObject.java:153)
      	at org.openide.filesystems.AbstractFileObject.<init>(AbstractFileObject.java:58)
      	at org.openide.filesystems.AbstractFileSystem.createFileObject(AbstractFileSystem.java:350)
      	at org.openide.filesystems.AbstractFileObject.createFile(AbstractFileObject.java:115)
      	at org.openide.filesystems.AbstractFolder.getChild(AbstractFolder.java:345)
      	at org.openide.filesystems.AbstractFolder.getChild(AbstractFolder.java:316)
      	at org.openide.filesystems.AbstractFolder.getChildren(AbstractFolder.java:233)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:262)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:270)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:270)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:270)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:270)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findJavaSourceFile(JavadocAndSourceRootDetection.java:270)
      	at org.netbeans.spi.java.project.support.JavadocAndSourceRootDetection.findSourceRoot(JavadocAndSourceRootDetection.java:132)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.checkPath(RepositoryForBinaryQueryImpl.java:477)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.getSourceJarRoot(RepositoryForBinaryQueryImpl.java:503)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.getRoots(RepositoryForBinaryQueryImpl.java:450)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.checkChanges(RepositoryForBinaryQueryImpl.java:391)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult.access$300(RepositoryForBinaryQueryImpl.java:288)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult$1.run(RepositoryForBinaryQueryImpl.java:327)
      Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
      	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1459)
      	at org.netbeans.modules.maven.queries.RepositoryForBinaryQueryImpl$SrcResult$4.fileDataCreated(RepositoryForBinaryQueryImpl.java:358)
      	at jdk.internal.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:462)
      	at com.sun.proxy.$Proxy1.fileDataCreated(Unknown Source)
      	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:147)
      	at org.openide.filesystems.FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync(FCLSupport.java:223)
      	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:112)
      	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:87)
      	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1410)
      	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:770)
      	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:59)
      	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:529)
      	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:619)
      	at org.openide.filesystems.FileObject.fireFileDataCreatedEvent(FileObject.java:571)
      	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.fireFileDataCreatedEvent(BaseFileObj.java:642)
      	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refreshImpl(FolderObj.java:483)
      	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh(BaseFileObj.java:868)
      	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.refresh(FolderObj.java:537)
      	at org.openide.filesystems.FileObject.refresh(FileObject.java:1194)
      	at org.netbeans.modules.masterfs.watcher.Watcher$1.run(Watcher.java:415)
      	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              javydreamercsw Javier A. Ortiz
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: