This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | 6.9RC1 crashes when trying to import settings from 6.8 | ||
---|---|---|---|
Product: | platform | Reporter: | fabriziogiudici <fabriziogiudici> |
Component: | Options&Settings | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, mmirilovic, rbalada, sfiltrom |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
fabriziogiudici
2010-05-28 07:33:06 UTC
Tried on Ubuntu with 6.9 Rc2 and haven't been able to reproduce Some points: 1. I think that some defensive code could be implemented in any case. For instance, rather than failing the launch without any diagnostic, we could raise "Sorry, I couldn't import your previous settings; starting with a fresh installation" and run. 2. Is it possible to configure my copy to have more logs and perhaps seeing what's the offending folder? Is it reproducible? If yes, could you run your NetBeans with a switch -J-Dorg.netbeans.upgrade.level=-1 and add your output log there? Thank you I'm not able to reproduce it either. A changeset core-main/rev/c47987d7bc21 (in trunk) made importer more robust. Until yesterday it was perfectly reproducible, but unfortunately this evening the problem doesn't reproduce any longer (I've used NB 6.8 this afternoon and it probably changed something). My only point is that looking at the detailed logs with -J-Dorg.netbeans.upgrade.level=-1 I see that it also copies var/cache stuff, which I didn't expect to happen. Integrated into 'main-golden', will be available in build *201005300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c47987d7bc21 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #186867: 6.9RC1 crashes when trying to import settings from 6.8 Unfortunately, I have to reopen it, as it happened again with 6.9 final. INFO [org.netbeans.upgrade.AutoUpgrade]: Importing from /Users/fritz/.netbeans/6.8 to /Users/fritz/.netbeans/6.9 WARNING [org.netbeans.core.startup.Main] java.lang.NullPointerException at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:102) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyFolder(CopyFiles.java:104) at org.netbeans.upgrade.CopyFiles.copyDeep(CopyFiles.java:97) at org.netbeans.upgrade.AutoUpgrade.copyToUserdir(AutoUpgrade.java:258) at org.netbeans.upgrade.AutoUpgrade.main(AutoUpgrade.java:97) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.core.startup.Main$1ImportHandler.run(Main.java:384) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:1 This time I archived the 6.8 settings, so I can attach them. They are a 50+MB .zip (after dropping -/var/cache), tell me how can I share it. It's fixed in Development Daily Builds (upcoming NetBeans Next release), not in release69 branch. It can be backported to NetBeans 6.9.1. Could you verify in any recent daily build? It's important for backporting to 6.9.1. Thanks verified main #c47987d7bc21 transplanted to release691 #72a95c80721b *** Bug 188042 has been marked as a duplicate of this bug. *** |